qq_明天你好_27
2016-08-23 23:07
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 'current_date(),'USER',current_date(),1)' at line 1
这是为什么?查是数据库语法错误,是create_date默认类型不对???我默认类型是date。
提示是说sql语法错误,再检查下语法,或者命令行里直接用这里的sql语句查询数据库 看是否会报错?
应该不是create_date类型的问题,这应该就是 sql语句的问题
另外update_user类型不应该是String类型的吗,“USER”;
Exception in thread "main" com.mysql.jdbc.exceptions.MySQLSyntaxErrorException:
JDBC之 “ 对岸的女孩看过来”
99329 学习 · 856 问题
相似问题