MySQL Forums
Forum List  »  Triggers

Re: Multiple triggers
Posted by: irek kordirko
Date: April 11, 2012 03:12PM


Mysql doesn't allow to have more that one trigger of the same type on the same table.
It's described here:

... there are other limitations on the types of triggers you can create. In particular, you cannot have two triggers for a table that have the same activation time and activation event. For example, you cannot define two BEFORE INSERT triggers or two AFTER UPDATE triggers for a table. This should rarely be a significant limitation, because it is possible to define a trigger that executes multiple statements by using the BEGIN ... END compound statement construct after FOR EACH ROW. (An example appears later in this section.)

Options: ReplyQuote

Written By
April 11, 2012 01:40PM
Re: Multiple triggers
April 11, 2012 03:12PM

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.