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
2593
November 29, 2013 07:01AM
1304
November 29, 2013 12:27PM
1279
November 29, 2013 02:21PM
1240
November 30, 2013 04:03PM
Re: trigger with condition
1291
November 30, 2013 11:37PM
1159
December 01, 2013 03:52AM
1139
December 01, 2013 01:46PM
1204
December 01, 2013 03:21PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.