My Oracle Support Banner

ORA-06502: Number Or Value Error Thrown By Program Unit SA_REALM_SQL.GET_NEXT_ID (Doc ID 2393438.1)

Last updated on MARCH 20, 2019

Applies to:

Oracle Retail Sales Audit - Version 16.0.1 and later
Information in this document applies to any platform.


When trying to make a modification to existing totals in ReSA, the following error occurs:

ORA-06502: PL/SQL: numeric or value error: number precision too large returned by program unit: SA_REALM_SQL.GET_NEXT_ID

Steps to Reproduce :

  1. Ensure the LAST_NUMBER in SA_REALM_ID_SEQUENCE is > 999999.
  2. Edit an existing total. Attempt to add a new Realm or only click save and close and note the issue.
  3. Note error.

Similar error will occur in SA_PARM_SQL package if the LAST_NUMBER in SA_PARM_ID_SEQUENCE is > 999999.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.