While connecting to Database from client or using DB link if you face below issue , Please follow below mentioned steps.
ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 13
ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 13
I wrote this piece after a team of operation at my workplace required a partial database. When I prepared what they wanted and sent them a TNS to connect, they informed me that they could not connect because of our login trigger.
That was quite easy to understand the problem. Our login trigger was recording sessions in a table that resides on a tablespace that I have not restored =)
If you wat to disable all the system triggers in your database, you must set an undocumented parameter in your parameter file as below:
_system_trig_enabled=FALSE
alter system set "_system_trig_enabled"=FALSE; --- On Database side.
Thanks.