집 >데이터 베이스 >MySQL 튜토리얼 >mysql5.0.90存储过程定义变量出错,求解
CREATEPROCEDUREp()DECLAREaINT; 错误代码:#1064-YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyourMySQLserverversionfortherightsyntaxtousenearDECLAREaINTatline1 求解释,求正确的代码,谢谢!!!!!!!!!!!!!!!!!!!
CREATE PROCEDURE p () DECLARE a INT;CREATE PROCEDURE p () DECLARE a INT;