Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Bind Variables in a Procedure
Jeff Davidson wrote:
>
> Can someone help me with this procedure? I want to be able to say
>
> SQL>EXEC PKEY('CLIENT');
You can declare a variable such as cname
VARIABLE cname VARCHAR2;
Then EXEC :cname := PKEY('CLIENT');
Finally, PRINT cname to print the return result.
--- Name : Lun Wing San Title : Oracle Application Developer of Hong Kong Productivity Council Oracle Database Administrator and System Administrator of QRC Phone : (852)27885841Received on Sat Jan 25 1997 - 00:00:00 CST