Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REF CURSOR WITH VARRAY OR TABLE TYPE

700193Sep 3 2010 — edited Sep 8 2010
Hi all,

I have a procedure and I'm using a ref cursor for fetching data. Prior to fetching I have many cursors from many temporary tables and I don't want to use much temporary table for SP. So without using any table how I can make ref cursor .
Basically you need a select statement to make a ref cursor and that select must be from a table, that may be temporary table but without select from any table can I use plsql collection(varray,nested table,table type) object converting it into table using "table function"

if possible then give me some reference.

Thanks in Advance.

Sajal.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2010
Added on Sep 3 2010
10 comments
2,151 views