Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Returning a COMPLETE record set from a stored procedure
You could return a REF cursor and then fetch from that ref cursor in your
program. This situation is ideal compared to passing (around) collections.
Raj
Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.
QOTD: Any clod can have facts, but having an opinion is an art!
-----Original Message-----
Sent: Wednesday, July 17, 2002 3:24 PM
To: Multiple recipients of list ORACLE-L
Ok,
Maybe its just been a rough day, but looking at the docs (PLSQL Devleopers Guide), I only see that I can return only a record at a time.
But say I want to return a complete recordset from a stored procedure to a C program, what would be my retrun type? Can I use a collection?
The docs aren't clear on this and only show examples of retrunung a single rowtype.
Any links (except to metalink - I dont have access) would be helpful,
Thanks,
Hannah
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.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-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 Jul 17 2002 - 14:43:28 CDT
- text/plain attachment: InterScan_Disclaimer.txt