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

Home -> Community -> Mailing Lists -> Oracle-L -> How to execute procedure returning refcursor from sqlplus

How to execute procedure returning refcursor from sqlplus

From: Harvinder Singh <Harvinder.Singh_at_MetraTech.com>
Date: Mon, 18 Dec 2006 10:49:28 -0500
Message-ID: <D6424CD4C8A3C044BBC49877ED51C51801DBB220@ex2003.metratech.com>


Hi,  

We have a procedure that returns the sys_refcursor as an ouput and that is select statement with 2 columns, now I have to execute that procedure from sqlplus/toad and display the results, How can I declare a local varaiables and execute the procedure and return thre result using dbms_output?  

Thanks

--Harvinder
 

--

http://www.freelists.org/webpage/oracle-l Received on Mon Dec 18 2006 - 09:49:28 CST

Original text of this message

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