MySQL Forums
Forum List  »  Triggers

Re: trigger with condition
Posted by: Peter Brawley
Date: November 30, 2013 11:37PM

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.

Options: ReplyQuote


Subject
Views
Written By
Posted
2346
November 29, 2013 07:01AM
1187
November 29, 2013 12:27PM
1155
November 29, 2013 02:21PM
1124
November 30, 2013 04:03PM
Re: trigger with condition
1195
November 30, 2013 11:37PM
1059
December 01, 2013 03:52AM
1044
December 01, 2013 01:46PM
1088
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.