Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: what pl/sql construct can return multiple rows?
Bill,
A PL/SQL Table of <MyTable>%RowType can be returned from a function or as an Out Argument from a procedure.
A Ref Cursor (Cursor Variable) can also be returned as an Out Argument from a procedure.
See the PL/SQL Users Guide and Reference for info. on these.
Jack
-----Original Message-----
Bill
Sent: Tuesday, March 19, 2002 7:58 AM
To: Multiple recipients of list ORACLE-L
Hi,
Is there a way to write a procedure to return multiple rows? I have some nasty SQL that I'd like to convert to run server-side, but how do you spit out multiple rows from PL/SQL?
thx
Bill Magaliff
Framework, Inc.
914-631-2322
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jack C. Applewhite INET: japplewhite_at_inetprofit.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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-LReceived on Tue Mar 19 2002 - 09:53:33 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |