Salve a tutti..
Qualcuno sa la sintassi esatta per la creazione di una tabella con JDBC???
Ho la versione mysql-server 5.1.
In questa maniera qua da errore e non capisco proprio..
String table = "CREATE TABLE Papers (title varchar(100), references varchar(200))";
l'errore lanciato č il seguente:
com.mysql.jdbc.exceptions.jdbc4.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 'varchar(100), references varchar(200)' at line 1
idee??
Grazie mille a tutti...
|