【发布时间】:2011-11-07 08:47:21
【问题描述】:
对于这个查询我收到错误
"INSERT INTO table "
+ "(item1,item2) "
+ "VALUES "
+ "(" + number1 + "," + number2 + ");"
错误提示
查看与您的 MySQL 服务器版本相对应的手册,以在第 1 行的“item1,item2) VALUES (10,1)”附近使用正确的语法
任何帮助表示赞赏。
【问题讨论】:
-
您使用 table 作为表名?向我们展示您的代码生成的真实sql会很好。