My Oracle Support Banner

ORA-00604 ORA-06502 Executing CREATE USER When _system_trig_enabled=TRUE and using AFTER LOGON Trigger (Doc ID 2278541.1)

Last updated on SEPTEMBER 21, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


- Env: RDBMS migrated from 11g to 12c

- Issue: CREATE USER fails when _system_trig_enabled=true and using AFTER LOGON trigger:

ORA-00604 error occurred at recursive SQL level 2
ORA-06502 PL / SQL numeric or value error
ORA-06512 at line 21

To solve this error it is recommended to leave the parameter in _system_trig_enabled = FALSE but I need to leave it activated for triggers to work.




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.