View previous topic :: View next topic |
Author |
Message |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Sat Sep 10, 2005 6:36 am Post subject: COMPILE TIME ERROR IN SQL QUERY |
|
|
Hai,
I am coding SQL queries in my program with host variables and i am quite confident that all the queries are simple and correctly coded.But when i am compiling i am getter compile time error saying
DSNH104I DSNHPARS ILLEGAL SYMBOL ",". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: FOR FOR WITH FETCH ORDER UNION EXCEPT
QUERYNO OPTIMIZE
Same message on line:
Can anyone help me out what exactly do we mean by the significance of the error. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Sat Sep 10, 2005 7:15 am Post subject: |
|
|
Quote: |
DSNH104I DSNHPARS ILLEGAL SYMBOLb ",". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: FOR FOR WITH FETCH ORDER UNION EXCEPT
|
Shekhar123,
The message is self explanatory. You have an extra comma or a comma in the wrong place in your SQL statement. So correct it.
Also remember that it is better to show us the code for which you are getting the error.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
bauer Intermediate
Joined: 10 Oct 2003 Posts: 317 Topics: 50 Location: Germany
|
Posted: Wed Sep 14, 2005 5:23 am Post subject: |
|
|
Kolusu,
your answers are always short and perfect !!!!! |
|
Back to top |
|
 |
|
|