2013-11-24 87 views
0

我是mysql新手。 (第一件事情我真的做了),不能在這裏弄清楚什麼是錯我的語法:Mysql語法錯誤找不到

INSERT INTO `nationz_clans` (verified, open, name, friendly_fire, registered, lastUsed, packedAllies, packedEnemies, packedMembers, description, balance) VALUES (1,'0,'testing',0,'1385263412958','1385263412958','','','','','0.0'); 

錯誤:

Error at SQL INSERT Query: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'testing',0,'1385263412958','1385263412958','','','','','0.0')' at line 1 

謝謝!

回答

1

刪除此單引號:

... 
VALUES (1,'0,'testing',0,'1385263412958','1385263412958','','','','','0.0'); 
     ^
2

零後一個單引號?

+0

謝謝!我誠實地至少跳過了20次 – user3026427