Raiserror in MySql
Posted by:
Jim Daly
Date: June 13, 2005 12:17PM
Hello,
in MS SqlServer, I can write a trigger that joins a series of tables and raise an error for a specific condition.
I've glanced through the MySql documents, but haven't found an equiland to MsSql's RAISERROR.
Essentially, how would I throw an exception from inside a trigger in MySql? Preferably, I don't want to use an external function to raise the error, as the MySql engine could potentially be ported to various platforms.
Thank you in advance.
Cheers,
Jim
Subject
Written By
Posted
Raiserror in MySql
June 13, 2005 12:17PM
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.