MySQL: Rollback Insert through BEFORE Triggers
Posted on 2008-10-05
I'd like to rollback a Insert statement is my check in the BEFORE INSERT trigger don't satisfy a condition ...
I read somewhere that any exception during the trigger would prevent the insert, but I don't know how throw this exceptions ...
Can someone help me ?