I'm trying running the code bellow.
DELIMITER $$
DROP PROCEDURE IF EXISTS NormalizeMeasures$$
CREATE PROCEDURE NormalizeMeasures()
BEGIN
-- Variable for Cursor 1
DECLARE idSensor INT;
END$$
DELIMITER ;
But I'm receiving the following message:
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 'CREATE PROCEDURE NormalizeMeasures() BEGIN
-- Variable for Curso' at line 2
But for strange that this can hear, this code already worked. My Mysql currently version is 5.5.37