MySQL Forums
Forum List  »  Triggers

Re: MySQL "Before insert" trigger stops insertion process
Posted by: Peter Brawley
Date: December 27, 2016 01:16PM

One workaround: when prohibited insert conditions are detected, in the Trigger just set a not null column value null.

Another solution: use SIGNAL.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL "Before insert" trigger stops insertion process
334
December 27, 2016 01:16PM


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.