MySQL Forums
Forum List  »  Triggers

Re: Prevent Insert With Trigger - How is it done?
Posted by: Peter Brawley
Date: March 08, 2017 02:55PM

Deliberate error creation is the only way I know in MySQL. If you don't wish to use Signal, just set a non-null column null and handle the error without showing the user a message.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Prevent Insert With Trigger - How is it done?
597
March 08, 2017 02:55PM


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.