MySQL Forums
Forum List  »  Triggers

How i can reject a row in a trigger?
Posted by: Pablo Acuña
Date: January 11, 2007 09:51AM

Hello.

I did read the documentation of MySQL and not found an option for my problem.
I have a integer field that must take limited number of values. If i try to insert a row that have a value out of range, it must be rejected.
There are no predefined values.

How i can reject a row in a trigger?

Options: ReplyQuote


Subject
Views
Written By
Posted
How i can reject a row in a trigger?
5617
January 11, 2007 09:51AM
2241
January 11, 2007 09:57AM
2149
January 11, 2007 12:06PM
2274
January 11, 2007 04:44PM


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.