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

Home -> Community -> Usenet -> c.d.o.server -> Re: Pb with Pro*c

Re: Pb with Pro*c

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Wed, 26 May 1999 16:02:23 GMT
Message-ID: <37531ae5.18528342@newshost.us.oracle.com>


A copy of this was sent to Herve filliere <herve_filliere_at_yoni.fr> (if that email address didn't require changing) On Wed, 26 May 1999 16:41:13 +0200, you wrote:

>hi everybody,
>
>i would like tu use a PL/SQL function in pro*c.
>please give me syntax.
>
>i have an example:
>declare a number;
>execute a:=recherche(:a);
>
>sincerly.
>hervé.

 exec sql execute
 begin

     :a := recherche(:a);
 end;
 end-exec;

and make sure to set SQLCHECK=SEMANTICS and USERID=u/p on the proc precompile command as well.

See http://www.oracle.com/ideveloper/ for my column 'Digging-in to Oracle8i'...  

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 Wed May 26 1999 - 11:02:23 CDT

Original text of this message

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