Quote:> Does anybody know how to read a PL/SQL table into
> a ref cursor without using a tempory table in between.
Basically, I wanted to read some stuff from various tables,
build a PL/SQL table in the stored procedure, and return a
REF CURSOR to that "table" back to the calling program. The
result set I wanted to return back could not be created in a
single SQL statement.
Mani Visweswaran
> > Does anybody know how to read a PL/SQL table into
> > a ref cursor without using a tempory table in between.
Jim
> Basically, I wanted to read some stuff from various tables,
> build a PL/SQL table in the stored procedure, and return a
> REF CURSOR to that "table" back to the calling program. The
> result set I wanted to return back could not be created in a
> single SQL statement.
> Mani Visweswaran
> > First of all, a table is not read "into" a cursor. It's not like the
table
> > is
> > duplicated somewhere.
> > What do you mean by a temporary table? It would help if you show an
> > example of what you are not looking for.
> > Mike
> > > Does anybody know how to read a PL/SQL table into
> > > a ref cursor without using a tempory table in between.
1. REF cursor and PL/SQL table
Does anyone has any idea(I am sure some of you do) on how one can read
from a PL/SQL table using a REF cursor?
Any ideas will be very helpful.
Thanks
Pk.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
2. console lockUp in FoxPro for Unix
3. REf cursors on Pl/SQL tables
4. Anyone knows good FOX,DBASE or CLARION JOB search engines?
5. REF CURSOR returning a PL/SQL Table.
6. Need lib. with file I/O functions
7. Returning a ref cursor with dynamic SQL in PL/SQL
8. Records deleting on their own
9. working with PL/SQL REF CURSORs
10. PL/SQL REF CURSOR Question
11. XML from REF CURSOR in PL/SQL
12. JavaSP ResultSet to PL/SQL REF CURSOR