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!

Casting sql into ref-cursor

875308Jan 31 2012 — edited Feb 2 2012
Hi,

I have a procedure with refcursor as a parameter. Table name and columns for ref cursor should be passed dynamically.
Is there any way to cast string parameter to refcursor? If so whoever will be calling this parameter just have to pass the sql and that should be converted into refcursor.


Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 1 2012
Added on Jan 31 2012
4 comments
361 views