The DB I am reading from is on an AS/400, it is a DB2 DB. I have tried to comment out all but the first IIF statement and that didn't work. If you are right and you cannot use the IIF statement, is there an alternative that would accomplish the same thing? I basically need to evaluate a field...
I receive the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0104 - Token = was not valid. Valid tokens: ) ,.
when using this sql statement:
SELECT * FROM wtecdlib.wqesmpllog WHERE IIF(PDTerm =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.