PLS-00221: 'DOCUTIL' is not a procedure or is undefined
Bonjour,
Voici mon problème
J'ai la fonction suivante :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
CREATE OR REPLACE FUNCTION docutil(
pnom IN VARCHAR2,
pscso IN VARCHAR2,
ppec IN NUMBER
)
RETURN NUMBER IS
BEGIN
INSERT INTO BTDOCUTIL (typedoc,nomdoc,datutil,scso,pec)
VALUES ('B',pnom,sysdate,pscso,ppec);
return(1);
END ;
/ |
Je la compile, Oracle me dit : Function created.:ccool:
Mais lorsque je lance un :
Code:
execute docutil('pouet','01',255);
...Oracle me dit :
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00221: 'DOCUTIL' is not a procedure or is undefined
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
:koi:
Quelqu'un pourrait m'aider à comprendre ?
Merci d'avance