Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Trigger not firing!!!!!!!!!!(URGENT)
Where is the commit?
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Onkar N Tiwary
Sent: Thursday, June 09, 2005 5:51 AM
To: rjamya; oracle-l_at_freelists.org
Subject: Re: Trigger not firing!!!!!!!!!!(URGENT)
Raj,
The code for the trigger is :
CREATE OR REPLACE TRIGGER INFO=20
AFTER LOGON
ON DATABASE=20
begin
insert into info=20
values(ora_client_ip_address,to_char(sysdate,'dd-mm-yyyy:HH:MI:SS'),ora_l=
ogin_user);
end;
And I test it by logging into the DB with another user also say a user=20
called LOG but no record in the table. Moreover I tried the following =
sql on=20
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=20
the DB
Any idea?????
On 6/9/05, rjamya <rjamya_at_gmail.com> wrote:=20
>=20
>=20
>=20
>=20 >=20 >=20
--=20
Thanks & Regards,
T. Onkar Nath
Ph : +91-9826728111(Cell)
to_onkar_at_yahoo.com
onkarnath.tiwary_at_gmail.com
-- http://www.freelists.org/webpage/oracle-l This electronic message transmission is a PRIVATE communication which = contains information which may be confidential or privileged. The information is = intended=20 to be for the use of the individual or entity named above. If you are = not the=20 intended recipient, please be aware that any disclosure, copying, = distribution=20 or use of the contents of this information is prohibited. Please notify = the sender of the delivery error by replying to this message, or notify us = by telephone (877-633-2436, ext. 0), and then delete it from your system. -- http://www.freelists.org/webpage/oracle-lReceived on Thu Jun 09 2005 - 10:01:02 CDT
![]() |
![]() |