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 -> Re: calling pl/sql procedure:

Re: calling pl/sql procedure:

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Thu, 05 Aug 1999 20:51:43 GMT
Message-ID: <37b3f93e.32411465@newshost.us.oracle.com>


A copy of this was sent to Zahid Khan <zahid_at_cc.gatech.edu> (if that email address didn't require changing) On Thu, 05 Aug 1999 16:31:52 -0400, you wrote:

>Hi .. i am a newbie learning pl/sql...
>Can I call a PL/SQL procedure from the sqlplus prompt?
>if so, then how can I do that?
>
>TIA
>--zahid
>

SQL> begin procedure; end;

   > /

or

SQL> exec procedure

or for functions:

SQL> exec dbms_output.put_line( function );

--
See http://govt.us.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Thu Aug 05 1999 - 15:51:43 CDT

Original text of this message

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