Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Trigger not firing!!!!!!!!!!(URGENT)

Re: Trigger not firing!!!!!!!!!!(URGENT)

From: Hemant K Chitale <hkchital_at_singnet.com.sg>
Date: Thu, 09 Jun 2005 21:31:35 +0800
Message-Id: <6.2.0.14.0.20050609213036.01fb8c40@pop.singnet.com.sg>

Check if you've {mistakenly} set
_sys_trig_enabled=FALSE
in your instance's init.ora or spfile.ora.

Hemant

At 07:51 PM Thursday, Onkar N Tiwary wrote:
>Raj,
> The code for the trigger is :
>CREATE OR REPLACE TRIGGER INFO
>AFTER LOGON
>ON DATABASE
>begin
>insert into info
>values(ora_client_ip_address,to_char(sysdate,'dd-mm-yyyy:HH:MI:SS'),ora_login_user);
>end;
> And I test it by logging into the DB with another user also say a user
>called LOG but no record in the table. Moreover I tried the following sql on
>the prompt also:
> SELECT ORA_CLIENT_IP_ADDRESS FROM DUAL; -- no output
> But when I issued :
> SELECT ORA_LOGIN_USER FROM DUAL; -- gives me the current username logged in
>the DB
> Any idea?????

Hemant K Chitale
http://web.singnet.com.sg/~hkchital

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jun 09 2005 - 09:36:58 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US