Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Returning a record set with a stored procedure
Search NG for ref cursor.
Jim
"Russ McTyre" <rmctyre_at_hotmail.com> wrote in message
news:5a6ed0d7.0111210517.666e056f_at_posting.google.com...
> I would like to create a simple stored procedure that consists of a
> single SELECT statement. Can you do this with Oracle? If so, can
> someone give me a hint on the syntax?
>
> Example:
>
> Table_A
> -------
> ProductId
> ProductDescription
>
> SELECT ProductId, ProductDescription
> FROM Table_A
Received on Wed Nov 21 2001 - 09:33:39 CST