Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.sql.SQLException...Syntax error in FROM clause.

Status
Not open for further replies.

Eytch

Programmer
Jan 29, 2003
60
US
I get the following message when I run my program, any suggestions why?

java.sql.SQLException[Microsoft][ODBC Microsoft Access Driver]Syntax error in FROM clause.

Thanks,

Eytch
 
How on earth do you expect us to point out the error in your SQL if you don't believe it ?!

The message pretty much says what it is - there is an error in your SQL near the FROM clause!

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
I also think that your SQL Statement has a syntax error in the FROM clause (lol). Sorry, but without posting the SQL statement there is nothing that we can do for you. After all we are not psygic.

Suggestions: SQLExceptions return an error code and a state code, that could help you to trace the problem. You could also try to execute the SQL statement in MS-Access yourself and hope that MS-Access provides you with a better problem report.

Good luck,

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top