Bonjour,
Voilà j'ai créer une fonction stockée qui prend un paramétre d'entrée et à un parametre de sortie:
mon problème est le suivant, lorsque je tente d'appeler ma procédure sous oracle je n'y parviens pas.
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; /
Voici comment je m'y prend:
Quelqu'un vois où ais-je bien pu me tromper dans la façon d'appeler ma fonction?
Code : Sélectionner tout - Visualiser dans une fenêtre à part call Ajout_Navigation('Accueil');
Merci d'avance.
Partager