SET @i=1;
WHILE @i<2 do
SELECT @i
SET @i = @i + 1;
end while请问下这个语句哪有问题了??
报的错误
错误码: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHILE @i<2 do
SELECT @i
SET @i = @i + 1' at line 1Execution Time : 00:00:00:000
Transfer Time  : 00:00:00:000
Total Time     : 00:00:00:000错误码: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'end while' at line 1Execution Time : 00:00:00:000
Transfer Time  : 00:00:00:000
Total Time     : 00:00:00:000哪位大哥麻烦写一个示例看看