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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Getting column names from SYS_REFCURSOR

XYZ123Sep 1 2008 — edited Sep 1 2008
Hi everybody, i have a SYS_REFCURSOR in a procedure. And i open it and fetch cursor to a record as follows:

OPEN curgroup FOR vexpr2;
LOOP
FETCH curgroup INTO recType;
...
...
END LOOP;

recType is a Record, has two variables. Anyway, the question is can i get the column names from refcursor?

like recType.COLUMN1 (Column1 is not a record variable ) ????

or is there anything else to perform this operation?

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 29 2008
Added on Sep 1 2008
6 comments
27,717 views