MySQL Forums
Forum List  »  Microsoft SQL Server

Re: Goto Statement
Posted by: Erik Wetterberg
Date: July 12, 2007 07:58AM

Sorry, there is no GOTO in MySql stored procedures. You could instead:
- set a flag and terst for it
- return from the procedure if no updates should be made, and add the updates
after the returns
- put the updates in another stored procedure, and call it in your if statements

Erik Wetterberg

Gadgets for your Google homepage:

Options: ReplyQuote

Written By
July 12, 2007 06:50AM
Re: Goto Statement
July 12, 2007 07:58AM
February 07, 2009 01:43AM
February 10, 2009 06:59AM

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.