Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Use Function & Procedure
On Tue, 18 Dec 2001 16:39:12 GMT, "Flex" <flexNOSP_at_Mfreemail.it>
wrote:
>
>"Giuseppe" <fioritoNOSPAM_at_libero.it> ha scritto nel messaggio >
>> SELECT function(arg, ...) FROM dual;
>>
>System said that Function not in memory or into a DB
>> EXECUTE procedure(arg, ...);
>>
>
>
Try this:
CREATE PROCEDURE TEST AS BEGIN NULL; END; /
You should see:
<<
Procedure created.
<<
Then try:
EXECUTE TEST You should see:
<<
PL/SQL procedure successfully completed.
<<
If you do not, tell us what you do see.
Also, if the user who created the procedure is different than the user who is to run it, or the user who created it has created it in a different schema:
GRANT EXECUTE ON TEST TO User;
Brian Received on Tue Dec 18 2001 - 12:11:01 CST