Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SP return Cursor
You can use the SQL*Plus print command and a refcursor variable:
SQL> var x refcursor
SQL> exec SP_WEB_MES( P_I_SCALE => 'H', P_V_MULTISOURCE => 'NORMAL',
P_V_TYPE => 'NORMAL', P_V_STATUS => 1, CRS_DATA => :x);
PL/SQL procedure successfully completed.
SQL> print x
..... rows are printed and can be formatted using column command
..... use Ctrl+C to stop output
Received on Fri Dec 02 2005 - 04:45:16 CST