在java程序里面向数据库插入数据时报错,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 'condition varchar(255), description varchar(255), example varchar(255), op_date ' at line 1。到网上查了下,原来condition是mysql的关键字;把字段名改了就ok了
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
最新推荐文章于 2024-08-16 16:30:26 发布