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: Can anyone shed any light on how to run a package in TOAD and return a recordset?

Re: Can anyone shed any light on how to run a package in TOAD and return a recordset?

From: rajXesh <member11038_at_dbforums.com>
Date: Thu, 09 Jan 2003 17:40:10 +0000
Message-ID: <2367910.1042134010@dbforums.com>

Originally posted by Rubber Duck
> Can anyone shed any light on how to run a package in TOAD and return a
> recordset?
>
> I've heard its not for the faint of heart, can anyone point me to any
> examples or suggest a better alternative?
>
>
>
> Thanks
>
> PT

I am guessing that your package returns a ref cursor. If that is the case then you will have to wrap the package call in a anoynmous block and then do the fetches and display using dbms_output.

Oh, and remember to close the cursor.

--
All you need in this life is ignorance and confidence, and then success is sure. -- Mark Twain (1835 - 1910)


Posted via http://dbforums.com
Received on Thu Jan 09 2003 - 11:40:10 CST

Original text of this message

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