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: Scott Cote <scottcote_at_contractor.net>
Date: Mon, 06 Jul 1998 11:58:20 -0500
Message-ID: <35A1022C.BC291B8A@contractor.net>


Look at using reference cursors (and binding the cursor to your host programming lang.).

SCott
Hive Software, Inc.

Ajay Soni wrote:

> 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 - 11:58:20 CDT

Original text of this message

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