Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Trouble coverting a Procedure into a "STORED" procedure

Trouble coverting a Procedure into a "STORED" procedure

From: Craig B. <craig.bender_at_practiceone.com>
Date: 4 Feb 2004 18:50:30 -0800
Message-ID: <6a45b902.0402041850.508bd3f@posting.google.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US