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: Returning a result set from a table using a stored procedure

Re: Returning a result set from a table using a stored procedure

From: Winnie Liu <poohland_at_hotmail.com>
Date: Mon, 6 Jul 1998 20:04:35 -0700
Message-ID: <6ns30a$c2a@sjx-ixn2.ix.netcom.com>


You can try to store the result from the SELECT statments into variables and then use dbms.put_line ('variable')
to print the output to screen.

Winnie

Ajay Soni wrote in message <01bda8f6$921f7c00$9a6adec2_at_ajaytosh>...
>Hi,
>
>We're trying to return a table by calling a stored procedure which has a
>select clause inside ( which looks like SELECT * FROM MYCUSTOMERS ).
>
>Example:
>
>>EXECUTE GET_CUSTOMERS
>
>Returns:
>
>Surname Firstname Address
>---------------------------------------------------------------------
>Smith John 123 Broadway
>
>
>We know it's possible to do it in MSQL Server, but how can it be done in
>Oracle 7.x
>
>Cheers
>
>Ajay
>
Received on Mon Jul 06 1998 - 22:04:35 CDT

Original text of this message

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