MySQL Forums
Forum List  »  Triggers

Re: Problem creating a trigger
Posted by: Peter Brawley
Date: March 21, 2012 04:36PM

There's no way to "cancel" an ongoing update from within a Trigger, so for each column, you'd have to write ...

set new.colname = old.colname;

Options: ReplyQuote


Subject
Views
Written By
Posted
1924
March 21, 2012 04:25PM
Re: Problem creating a trigger
1103
March 21, 2012 04:36PM


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.