mysql_query("DROP PROCEDURE IF EXISTS change",$con) or die("出错了:".mysql_error());最近在学习存储过程的事情,用 PHP 添加和删除存储过程。
错误提示为:出错了: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 'change' at line 1搞不懂,即使更简单一些,变成 mysql_query("DROP PROCEDURE IF EXISTS change") or die("出错了:".mysql_error());也不行。但是,如果我将后面的一句 or die("出错了:".mysql_error()) 删除掉,程序又不报错为什么啊