Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Returning a COMPLETE record set from a stored procedure

RE: Returning a COMPLETE record set from a stored procedure

From: <johanna.doran_at_sungard.com>
Date: Wed, 17 Jul 2002 12:04:21 -0800
Message-ID: <F001.0049A887.20020717120421@fatcity.com>


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: root_at_fatcity.com_at_SUNGARD On Behalf Of "Jamadagni, Rajendra" <Rajendra.Jamadagni_at_espn.com>
> 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: johanna.doran_at_sungard.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 - 15:04:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US