我在使用MySQL工具编写MySQL存储过程的时候,明明语法正确,但是却一直提示You have an error in your SQL syntax. 比如下面一段代码 CREATE PROCEDURE demo_pro() BEGIN DECLARE doned BOOLEAN; ); DECLARE demo_cur CURSOR FOR SELECT detail from address; DECLARE CONTINUE HANDLER FOR NOT FOUND SET done…