a single statement, not multiple statements

http://dev.mysql.com/doc/refman/5.7/en/prepare.html

Statement names are not case sensitive. preparable_stmt is either a string literal or a user variable that contains the text of the SQL statement. The text must represent a single statement, not multiple statements. 

原文地址:https://www.cnblogs.com/rsapaper/p/6232100.html