Wednesday, December 7, 2011

Invalid SQL syntax. SQLSTATE=37000

If you get below mentioned error for DB2

37000(-99999)[IBM][CLI Driver] CLI0118E  Invalid SQL syntax. SQLSTATE=37000 (0.03 secs)

As the error suggest, There could be a syntax error in the SQL. Please make sure that all the syntax for the SQL query is correct. Cross check for the syntax error.