MySQL Forums
Forum List  »  Stored Procedures

Exit procedure...
Posted by: Ross Rankin
Date: June 23, 2005 02:03PM

OK so you do a SELECT get a result and and if a given value, i just want to exit the entire procedure, if not follow the rest of the procedure. Can I do a handler or do I have to do a begin..leave...end?



Edited 1 time(s). Last edit at 06/23/2005 02:03PM by Ross Rankin.

Options: ReplyQuote


Subject
Views
Written By
Posted
Exit procedure...
5395
June 23, 2005 02:03PM
2960
June 23, 2005 03:04PM
2649
June 23, 2005 03:44PM
3013
June 24, 2005 02:26AM


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.