MySQL Forums
Forum List  »  Stored Procedures

Re: Problems using LOOP..END LOOP, label and LEAVE
Posted by: Andrew Gilfrin
Date: July 01, 2005 05:23AM

Odd, I just gave it a go and it seems to work fine for me.

mysql> create procedure myproc()
-> begin
-> myloop: loop
-> leave myloop;
-> end loop;
-> end
-> //
Query OK, 0 rows affected (0.00 sec)

I'm using a brand new 5.7 intall.

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

Options: ReplyQuote




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.