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-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 3:24 PM
To: Multiple recipients of list ORACLE-L
Subject: Returing a COMPLETE recordset from a stored procedure

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
*********************************************************************This e-mail 
message is confidential, intended only for the named recipient(s) above and may 
contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank 
you.*********************************************************************2


Reply via email to