MySQL Forums
Forum List  »  Triggers

Re: running trigger for a particular row
Posted by: Peter Brawley
Date: September 12, 2011 02:10PM

A Trigger runs unconditionally on all updates, all inserts or all deletes on a table. Put a condition like the one you describe inside the trigger, ie check the column that tracks the user's daily update count, and if she's over the limit, undo the update.

Options: ReplyQuote


Subject
Views
Written By
Posted
2762
September 12, 2011 07:08AM
Re: running trigger for a particular row
1055
September 12, 2011 02:10PM


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.