Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: passing ref cursor on a procedure
If in SQL*Plus:
Just declare variable of REFCURSOR type and pass it to stored procedure:
DECLARE lCursor REFCURSOR;
Begin
<procedure_name>(par1, par2, ., :lCursor);
end;
/
Igor Neyman, OCP DBA
ineyman_at_perceptron.com
-----Original Message-----
Hatzistavrou John
Sent: Wednesday, June 04, 2003 8:40 AM
To: Multiple recipients of list ORACLE-L
Dear All,
I have a vendor procedure which I wish to run . This procedure takes as input variables a varchar and a ref_cursor.
I know the query that is related to the ref_cursor and I wish to implicitly pass it to the procedure . How can this be done?
Kind Regards,
Hatzistavrou Yannis
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Igor Neyman
INET: ineyman_at_perceptron.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Jun 04 2003 - 09:40:23 CDT