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

From: Yahoo <yahoo854_at_hotmail.com>
Date: Fri, 26 Nov 1999 09:30:26 +0800
Message-ID: <81knqj$1ks$1_at_mawar.singnet.com.sg>


Thanks Mr. Kyte,

I visited the URL you had send in the mail and I found the answer to my query. Thanks again.

Warm Regards,

Thomas Kyte <tkyte_at_us.oracle.com> wrote in message news:l1eq3sooosaopdsr1t148i98mhdotj0aqn_at_4ax.com... A copy of this was sent to "Yahoo" <yahoo854_at_hotmail.com> [Quoted] (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 Fri Nov 26 1999 - 02:30:26 CET

Original text of this message