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!

I want to get the current Cursor row number

WoMoFeb 9 2010 — edited Feb 9 2010
Hello!

Is it possible to get the current row number of a cursor in a cursor loop?

for c_1 in cursor_1
loop
dbms_output.put_line(c_1. ???) --> this should show: 1 in the first loop ,2,3,...
endloop

best regards,

wolf
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2010
Added on Feb 9 2010
2 comments
7,952 views