MySQL Forums :: Microsoft SQL Server :: Goto Statement

Advanced Search

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

Subject Written By Posted
Goto Statement sarva malhotra 07/12/2007 06:50AM
Re: Goto Statement Erik Wetterberg 07/12/2007 07:58AM
Re: Goto Statement Arun kumar 02/07/2009 01:43AM
Re: Goto Statement Dmitry Tolpeko 02/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.