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

Home -> Community -> Usenet -> c.d.o.server -> Re: How do I view SYS_REFCURSOR output parameters in TOAD?

Re: How do I view SYS_REFCURSOR output parameters in TOAD?

From: Terry Dykstra <tddykstra_at_forestoil.ca>
Date: Mon, 13 Mar 2006 15:28:50 GMT
Message-ID: <ScgRf.27342$Ui.23294@edtnps84>


PLSQLDeveloper has that ability as well.

-- 
Terry Dykstra
Canadian Forest Oil Ltd.


"Sybrand Bakker" <postbus_at_sybrandb.demon.nl> wrote in message
news:4f75121uehthoc9lul5jn7emedop4mtrhh_at_4ax.com...

> On 10 Mar 2006 07:17:15 -0800, seanbrasher_at_gmail.com wrote:
>
> >I call this package and function from .NET and it works fine, returning
> >the two result sets, but I would like to be able to test this in TOAD
> >with something like this:
> >
> >DECLARE
> >test1 SYS_REFCURSOR;
> >test2 SYS_REFCURSOR;
> >
> >BEGIN
> >
> >exec MY_PKG.SAMPLE_FUNC(test1, test2, 'Smith');
> >
> >print test1;
> >
> >print test2;
> >
> >END;
> >
> >Obviously this syntax does not work. What do I need to do to make it
> >work?
>
> Toad has a refcursor tab in the output window, at least in 8.5.x and
> higher.
>
> --
> Sybrand Bakker, Senior Oracle DBA
Received on Mon Mar 13 2006 - 09:28:50 CST

Original text of this message

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