http://stackoverflow.com/questions/4862911/how-to-throw-an-error-in-mysql-procedure 9down votefavorite What is the mechanism to force the MySQL to thr ...
http://stackoverflow.com/questions/4862911/how-to-throw-an-error-in-mysql-procedure
9down votefavorite |
What is the mechanism to force the MySQL to throw an error within the stored procedure? I have a procedure which call s another function:
the job command is:
then:
My jobq. BTW I am using MySQL 5.5.8 thanks Arman. mysql stored-procedures throw stored-functions
|
||||||||
|
2 Answers
activeoldestvotesup vote7down voteaccepted |
Yes, there is: use the
|
||||
|
up vote5down vote |
You may use following stored procedure to emulate error-throwing:
Example:
|