Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Suppress Logon Trigger for DBMS_JOB
Hi All,
We have an after logon trigger on our database. This trigger also gets fired by DBMS_JOBs whenever they run which we don't want.
Is there a neat way to prevent this? I was thinking of checking V$SESSION.TYPE within the trigger to detect the BACKGROUND processes but it seems to be null at the time the trigger fires. Another option was to check V$SESSION.PROGRAM but this was getting messy. Any better ideas?
Thanks
Charlotte
PS. Oracle 9.2
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Oct 06 2005 - 11:37:33 CDT
![]() |
![]() |