Bonjour,

Voilà j'ai créer une fonction stockée qui prend un paramétre d'entrée et à un parametre de sortie:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CREATE OR REPLACE FUNCTION Ajout_Navigation( LIBRUBRIQUE IN VARCHAR2,CORUBRIQUE OUT INTEGER )
return integer
  AS
  BEGIN
      SELECT COREF into CORUBRIQUE
      FROM INAMRE
      WHERE TYREF = 3 and LDESCR LIKE LIBRUBRIQUE;				 
 
	IF CORUBRIQUE IS NULL 
	 	 then
	 		select INAMRE_COREF.nextval into CORUBRIQUE 
			from dual;	 		  	  
	end if; 		  
  END;
/
mon problème est le suivant, lorsque je tente d'appeler ma procédure sous oracle je n'y parviens pas.
Voici comment je m'y prend:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
call Ajout_Navigation('Accueil');
Quelqu'un vois où ais-je bien pu me tromper dans la façon d'appeler ma fonction?

Merci d'avance.