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: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Sat, 11 Mar 2006 10:53:44 +0100
Message-ID: <4f75121uehthoc9lul5jn7emedop4mtrhh@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 Sat Mar 11 2006 - 03:53:44 CST

Original text of this message

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