Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / January 2005

Tip: Looking for answers? Try searching our database.

sql0199 error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jules - 31 Jan 2005 19:21 GMT
Hi,

I am running a web app and whenever I try to start it it give me the
following error:

java.sql.SQLException: [SQL0199] Keyword ORDER not expected. Valid
tokens: , FROM INTO.

Obviously I understand what the error means, but I have gone through
all the sql statements in my code, and ORDER is not used anywhere...
any thoughts?

Thanks,
Jules
Serge Rielau - 31 Jan 2005 20:32 GMT
> Hi,
>
[quoted text clipped - 10 lines]
> Thanks,
> Jules

What's your backend database? DB2 would throw a SQL0104 not a SQL0199.
It actually smells like you have ORDER as a column name and perhaps your
driver doesn't like that. All the proposed token indicate a faulre
parsing the select-list

Cheers
Serge

Signature

Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.