From rhuntley@mindleaders.com Wed, 08 Aug 2001 14:07:17 -0700
From: Richard Huntley <rhuntley@mindleaders.com>
Date: Wed, 08 Aug 2001 14:07:17 -0700
Subject: RE: trigger problem
Message-ID: <F001.0036515A.20010808140257@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain


You want to do something like...

CREATE OR REPLACE TRIGGER CheckEname
  BEFORE UPDATE OF ename ON Emp_Tab
...

You could also optionally include a WHEN clause to further restrict
the firing of the trigger on that column if you're going to be
dealing with a row-level trigger.

HTH

-----Original Message-----
Sent: Wednesday, August 08, 2001 4:46 PM
To: Multiple recipients of list ORACLE-L


HI,
 Can anyone tell me how a trigger is written to 
 fire only when a specific column value in a table has
changed.

Thanks
Kirtee


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kirtee Hitesh
  INET: hkirtee@yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Richard Huntley
  INET: rhuntley@mindleaders.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


