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 problem

RE: trigger problem

From: Richard Huntley <rhuntley_at_mindleaders.com>
Date: Wed, 08 Aug 2001 14:07:17 -0700
Message-ID: <F001.0036515A.20010808140257@fatcity.com>

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_at_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_at_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_at_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_at_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). Received on Wed Aug 08 2001 - 16:07:17 CDT

Original text of this message

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