报错:
错误码: 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' at line 1
需要在函数体外加
DELIMITER $$
在end 后面加 $$
函数末尾加:
DELIMITER ;
报错:
错误码: 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' at line 1
需要在函数体外加
DELIMITER $$
在end 后面加 $$
函数末尾加:
DELIMITER ;