我写了一个简单的存储过程,在mysql4.1版下出错!CREATE PROCEDURE exp(OUT param1 INT)
BEGIN
SELECT COUNT(*) param1 FROM department;
END;ERROR 1064 (42000): 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
'PROCEDURE exp(OUT param1 INT)...
BEGIN
SELECT COUNT(*) param1 FROM department;
END;ERROR 1064 (42000): 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
'PROCEDURE exp(OUT param1 INT)...
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货