I need to create a before insert trigger on TABLE1 such that it inserts COL2 and COL3 of the new row being inserted in TABLE1 into TABLE2 only when TABLE1.FIELD1 = 'XYZ'. How do I do this so that trigger gets fired only when the condition is met?
I need to create a before insert trigger on TABLE1 such that it inserts
Share
or how a_horse_with_no_name noted, your can use the the
WHENclause