疏影暗香4171408
2016-11-16 17:28
Exception in thread "main" com.mysql.jdbc.exceptions.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 'create-date,update_user,update-date,isDel)values('?°??–—???',1,28,'2016-11-16','' at line 1
是不是sql语句写错了
String sql=""+
"insert into imooc_goddess"+
"(user_name,sex,age,birthday,email,mobile,"+
"create_user,create-date,update_user,update-date,isDel)"+
"values(" +
"?,?,?,?,?,?,?,current_date(),?,current_date(),?)";
JDBC之 “ 对岸的女孩看过来”
99327 学习 · 856 问题
相似问题