Ok, then the question is, can I pass a REF CURSOR to a C program? That's my problem. I know I can do it with ref cursors lets say within a package but what if I want to pass a complete recordset to a C program?
We have a programmer writing a program in C, wants us to write stored procs that return record sets to his calling program. Makes sense. I can do it in Visual Basic just by executing code into a recordset, but straight PL/SQL and C I am unsure about. > -----Original Message----- > From: [EMAIL PROTECTED]@SUNGARD On Behalf Of "Jamadagni, Rajendra" ><[EMAIL PROTECTED]> > Sent: Wednesday, July 17, 2002 3:43 PM > To: Multiple recipients of list ORACLE-L > Subject: 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. > -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).