Home > Back-end >  Java how to validate the SQL statements and format is correct?
Java how to validate the SQL statements and format is correct?

Time:05-09

Java how to determine the user to enter the SQL statement format correct? And validation of JavaScript statements,

CodePudding user response:

Are not necessarily can do it at once in the past know SQL is not correct, also want to write their own programs can you know?

CodePudding user response:

You can try to source, make a test database, the same table, execute SQL, not an error, then formal database on up

CodePudding user response:

Can adjust the database interface, the explain SQL execution
  • Related