Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Trouble coverting a Procedure into a "STORED" procedure
I'm pulling my hair trying to take this working procedure I wrote and
turn it into a stored procedure. The procedure is listed below.
Please somebody tell me what I need to add to it to turn it into a
Working Stored procedure. I was under ther impression that I could
just add "CREATE OR REPLACE PROCEDURE grants4readgrp () IS" to the top
of my procedure. But I get errors big time when adding the "Create"
line. The procedure I wroted doesn't need anything passed to it, so no
"IN" or "OUT". I just want to run it on demand and have it do it's
stuff. Like I said it works perfectly with me just running it from
SQLPlus. Please help:
EXCEPTION
WHEN e_no_record THEN
DBMS_OUTPUT.PUT_LINE ('NO RECORDS FOUND');
END grants4readgrp;
/
-- END--
Thanks a lot in advance.
Craig.
Received on Wed Feb 04 2004 - 20:50:30 CST
![]() |
![]() |