下面的錯誤是什么意思,大神幫忙解答一下
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
2016-11-16
是不是sql語句寫錯了
2016-11-16
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(),?)";