I have such problem as described in cannot login to sql server due logon trigger
But I use Oracle. Is there same thing like \"Dedicated Admin Connection\"? Or are there
In Oracle, a user with the ADMINISTER DATABASE TRIGGER
privilege should be able to log in even if a logon trigger throws an error. That should include any users with the DBA role.
Up to Oracle ver. 10g (including) the logon trigger was not fired for users having DBA role. Since ver. 11g it's fired also for DBA sessions, but its failure does not kill the session.
For all the other users any error thrown from the logon trigger kills the session.
So if you want to administer the logon trigger, you should connect as sysdba (sqlplus / as sysdba
)
PS: also note, that aside from LOGON TRIGGER ON DATABASE
there is also a LOGON TRIGGER ON SCHEMA
which is less dangerous.