Subject | Re: New JDBC driver keep throwing Dynamic SQL Error exception |
---|---|
Author | llafranc78 |
Post date | 2002-03-20T10:00:07Z |
Hi!!
You have to remove the semicolon at the end of your select string:
ResultSet rs = statement.executeQuery("SELECT * FROM
MESSAGES;");
must become
ResultSet rs = statement.executeQuery("SELECT * FROM
MESSAGES");
When using jdbc you must not add the semicolon at the end of any sql
statements!
Ciao
Luca
You have to remove the semicolon at the end of your select string:
ResultSet rs = statement.executeQuery("SELECT * FROM
MESSAGES;");
must become
ResultSet rs = statement.executeQuery("SELECT * FROM
MESSAGES");
When using jdbc you must not add the semicolon at the end of any sql
statements!
Ciao
Luca