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 Proc returns dataset - how to see results in SQL+?

Re: Stored Proc returns dataset - how to see results in SQL+?

From: DA Morgan <damorgan_at_psoug.org>
Date: Sun, 09 Apr 2006 08:56:51 -0700
Message-ID: <1144598204.352773@yasure.drizzle.com>


dean wrote:
> I don't know anything about the procedure, other than that it returns a
> dataset. What I am asking is if its possible to use SQL+ to examine the
> output of the procedure (i.e. its dataset)? Is it something of the
> flavor of
>
> set serveroutput on
>
> exec MyProc(1)
>
> ?

It is. And you had gone to Morgan's Library at www.psoug.org. Looked up REF CURSOR you would have seen a demo of how to do it.

But before we assume it is a REF CURSOR do this:

SQL> desc <procedure_name>

Post the output.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Sun Apr 09 2006 - 10:56:51 CDT

Original text of this message

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