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!

6502ORA-06502: PL/SQL: numeric or value error

konstantin.gudjevFeb 16 2012 — edited Mar 27 2012
Hi,

I have a PL/SQL package which has been running from 6 months.
2-3 times the package recorded "6502ORA-06502: PL/SQL: numeric or value error" without any extension of SQLERRM as "character string buffer too small", etc.

There are only two reasons for Oracle server to raise exactly that SQLERRM I think.
1. trying to assign NULL for NOT NULL declared variable.
2. trying to assign NULL for declared variable which inherit NOT NULL constraint by %TYPE.
None of the above is the reason.

I am using Bulk SQL, Collections, etc. features of PL/SQL in the package.

Could somebody point to another situation for Oracle to raise that error message "6502ORA-06502: PL/SQL: numeric or value error", but without any additional information?

Konstantin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 24 2012
Added on Feb 16 2012
7 comments
18,769 views