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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Stored Procedures : How to get a reasult set back ( Multiple Rows )

Re: Stored Procedures : How to get a reasult set back ( Multiple Rows )

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Thu, 25 Nov 1999 08:23:42 -0500
Message-ID: <l1eq3sooosaopdsr1t148i98mhdotj0aqn@4ax.com>


A copy of this was sent to "Yahoo" <yahoo854_at_hotmail.com> (if that email address didn't require changing) On Thu, 25 Nov 1999 15:23:15 +0800, you wrote:

>Hi ,
>
>Can anyone please help me out on this one ??
>
>I am using PB 7.0 as a frontend and Oracle 8.0.4 as backend. I want to get a
>set of rows into the PB program from a oracle stored procedure.
>Is this possible ? Can I get a set of rows out of the procedure at a single
>go or do I have to call the stored procedure again and again for each row I
>want to retrieve.
>
>Any help will be appreciated.
>TIA
>
>Yahoo.
>

You will use REF CURSORS. You can see the URL in my signature for a HOWTO on this. It doesn't have a power builder example but the concept is the same. PB supports ref cursors.

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Thu Nov 25 1999 - 07:23:42 CST

Original text of this message

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