MySQL Forums
Forum List  »  Stored Procedures

Re: Help Stored Procedures
Posted by: Bob Field
Date: October 31, 2006 01:24PM

About the only way I know to throw an error is to select a nonexistent column from a table. The column name can be your error message:
SELECT `NEW Amount is over 5000` FROM sometable;

Options: ReplyQuote

Written By
October 31, 2006 04:04AM
Re: Help Stored Procedures
October 31, 2006 01:24PM

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.