User connected to iSeries v6.1.0 ODBC connectivity. If he inserts comments in a Select statement using "--" and runs query, the following error occurs:
"An unexpected token END-OF-STATEMENT was found following..."
1. Select Tools | Options menu option
2. Drill down to Database | DB2 | General section
3. Select (enable): "Remove comments from SQL statements prior to execution." option
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center