Re: trigger with condition
Your trigger is conditioned on one specific column value. That's preposterous. NEW and OLD are not Trigger "extensions". They're intrinsic to MySQL Trigger logic, indeed they offer only way for the Trigger to identify the row being updated. Consider re-reading the manual page on Triggers.
Edited 1 time(s). Last edit at 12/01/2013 01:45PM by Peter Brawley.
Subject
Views
Written By
Posted
2761
November 29, 2013 07:01AM
1403
November 29, 2013 12:27PM
1459
November 29, 2013 02:21PM
1349
November 30, 2013 04:03PM
Re: trigger with condition
1375
November 30, 2013 11:37PM
1305
December 01, 2013 03:52AM
1303
December 01, 2013 01:46PM
1326
December 01, 2013 03:21PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.