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

Home -> Community -> Usenet -> c.d.o.tools -> Re: about storing PL/SQL block....newbie here

Re: about storing PL/SQL block....newbie here

From: Michel Cadot <micadot_at_netcourrier.com>
Date: 2000/04/13
Message-ID: <8d3rqc$3f8$1@news2.isdnet.net>#1/1

create or replace procedure <proc name> is <your PL/SQL block>
/

Then you can execute it with:
begin

   <proc name>;
end;
/
or:
exec <proc name>;

--
Have a nice day
Michel


Prabha Chidambaran <prabha_at_rcn.com> a écrit dans le message : 8d2gvh$i50$1_at_bob.news.rcn.net...

> I want to store an annonymous block: For example
>
> declare
> ........
>
> begin
> ..............
>
> exception
> .......
> end;
>
> SQL>PL/SQl procedure successfully completed.
>
>
> How do I store this procedure and retrieve it?
>
> thanks so much,
> Prabha
>
>
Received on Thu Apr 13 2000 - 00:00:00 CDT

Original text of this message

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