Hannah,
It can be done. The following sql statement returns a pile of data from a
procedure at one time.
SELECT * FROM
THE(SELECT CAST(gatekeeper.fail_why('&serial','&model') AS
atemgr.GATEKEEPER_INFO_TBL) FROM DUAL)
WHERE MODEL_NUMBER IS NOT NULL;
If you want more of the specifics I can provide.
Dick Goulet
____________________Reply Separator____________________
Author: [EMAIL PROTECTED]
Date: 7/17/2002 11:23 AM
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002>Ok,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=551091818-17072002>
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.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=551091818-17072002>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?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=551091818-17072002>The docs aren't
clear on this and only show examples of retrunung a single
rowtype.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=551091818-17072002>Any links (except to
metalink - I dont have access) would be helpful,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=551091818-17072002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=551091818-17072002>
Hannah</SPAN></FONT></DIV></BODY></HTML>
--
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).