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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Fine point of Triggers on fields and OR conditions

Re: Fine point of Triggers on fields and OR conditions

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 25 May 2006 16:47:21 -0700
Message-ID: <1148600840.954762.216730@38g2000cwa.googlegroups.com>


>> Does this mean that if EITHER of SALARY, or JOB_ID is updated,
the trigger will fire. (OR condition) <<

Yes, OR.

Create a simple table with 4 to 6 columns on it. Create an update trigger on two columns and have it insert a history record. Perform insert. Commit. Check to see if trigger fired.

HTH -- Mark D Powell -- Received on Thu May 25 2006 - 18:47:21 CDT

Original text of this message

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