Re: exit stored procedure - a newbie question
There isn't a tidy solution at present, your only option is to use an IF statement as you have. You could use a handler and a statement you know will fail but that's far from idea.
MySQL supports the ANSI condition format which should be used to allow you to raise errors manually but it hasn't been done yet and there are no firm plans to include it in the future.
Andrew Gilfrin
------------------
http://gilfster.blogspot.com
My MySQL related Blog
http://www.mysqldevelopment.com
MySQL Stored Procedure,Trigger, View.... (Just about most things these days) Information
Subject
Views
Written By
Posted
27040
June 11, 2005 02:51PM
Re: exit stored procedure - a newbie question
14396
June 12, 2005 08:51AM
12639
June 16, 2005 08:21AM
9310
June 16, 2005 08:23AM
7561
June 16, 2005 09:27AM
7344
June 16, 2005 10:25AM
5974
June 16, 2005 12:45PM
6281
June 17, 2005 06:59AM
10283
June 17, 2005 07:10AM
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.