Question:
I am getting the following error from DB2, using custom driver:com.ibm.as400.access.AS400JDBCDriver
Error executing sql statement: [SQL0104] Token ) was not valid. Valid tokens: , FROM INTO.; Caused by: [SQL0104] Token ) was not valid. Valid tokens: , FROM INTO.
Narrowed it down to this bit which works in SQL server, we are a bit stumped as syntax appears fine.
Answer:
You are missing aFROM
This is not valid either, are you trying to join the table to itself?
If you have better answer, please add a comment about this, thank you!