Home > Back-end >  Ask for help!
Ask for help!

Time:10-10

Wrong type of 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 '? ,? ,?) 'the at line 1

The original statement: String SQL="insert into the category of values (?,?,?,?,? ,? ,?) ";

, help, and see what is wrong?

CodePudding user response:

Table structure posted, and you insert into the category of values (?,?,?,?,? ,? ,?) The three question mark inside the corresponding values are also posted

CodePudding user response:

reference 1/f, James 灬 Gosling response:
table structure, post and you insert into the category of values (?,?,?,?,? ,? ,?) The three question mark inside the corresponding value also posted

Thank you ah, this problem has been solved

CodePudding user response:

refer to the second floor weixin_45740790 response:
Quote: reference 1/f, James 灬 Gosling response:
table structure, post and you insert into the category of values (?,?,?,?,? ,? ,?) The three question mark inside the corresponding value also posted

Thank you ah, this problem has been solved

I am a long-term commitment to help children's shoes CSDN, all kinds of incurable diseases, welcome to ask questions, 7 * 24 hours online
  • Related