| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> RE: Can you return a result set from a stored procedure?
There is a great FAQ at www.learnasp.com that has this in-depth.
Just do a search on "Oracle".
-----Original Message-----
From: dave mausner [mailto:dmausner_at_ameritech.x.net]
Sent: Wednesday, January 26, 2000 9:51 PM
To: comp.databases.oracle.server_at_list.deja.com
Subject: Re: Can you return a result set from a stored procedure?
Message from the Deja.com forum:
comp.databases.oracle.server
Your subscription is set to individual email delivery
john_at_snapjax.com (John Hamm) wrote in <86num4$ela$1_at_news.gate.net>:
>create procedure test
>...
> select * from patients
yes you can do that in sybase and sql-server (yawn) but this is oracle so
it is different. look into refcursors which allow a proc to open a cursor
and then pass it back to the calling program for use. you will not need to
restrict the cursor to 25 rows; the program can fetch from the cursor
until it is out of data.
--
dave mausner
Sent via Deja.com http://www.deja.com/ Before you buy. Received on Thu Feb 03 2000 - 11:38:21 CST
![]() |
![]() |