I have a AS400 datasource. I want to union a select field. This union works with a SQL datasource, but not when using an ODBC driver connecting to the AS400.
I have a dropdown list parameter using this select statement:
SELECT a FROM tableb
WHERE tableb.a = '0'
UNION --The problem is the union.
SELECT '' AS Empty
End result should be: (but union will not work)
Empty
(a data)
(a data)
(a data)
.......etc
Error Message: Token was not valid. Valid tokens: , From Into.
DB2/400 requires a
FROMtable: