Skip to Main Content

Oracle Forms

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!

How to find the ORA-06502 error from a running cursor

KalpataruJul 11 2016 — edited Sep 16 2016

Hi Experts,

Database version 11.2.0.4.0.

Suppose i have cursor query like this.

And cursor have 8000 records.

Cursor select_all is

Select  col1,

           col2,

           col3,

           ......

          .......

          ...upto..

          col200

from some_table.

For Rec in select_all loop

      Printing done here.

      after printing 200 record it shows

      ORA-06502 error (due to this error it is not printing the full 8000 records).

end loop;

I am also to find out which record has problem but not able to find out due to which column cursor gives error ORA-06502.

How to find out due to which column cursor gives error ?

Any tips really appreciated.

This post has been answered by Paulzip on Jul 12 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2016
Added on Jul 11 2016
29 comments
4,730 views