I have a pass through query going to an iSeries (AS/400) with the following syntax:
This is a valid query on the host, but access returns the error:
Microsoft Access
ODBC--call failed.
[IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0206 - Column or global variable HYF not found. (#-206)
The HYF is part of the date conversion function, not a column). Is there some way (via syntax) to force Access to let the host process this? Thanks.
Code:
SELECT
DATE( PRDOHH, HYF ) AS "DatePrdohh"
FROM
HRDBFA.PRPMS PRPMS
This is a valid query on the host, but access returns the error:
Microsoft Access
ODBC--call failed.
[IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0206 - Column or global variable HYF not found. (#-206)
The HYF is part of the date conversion function, not a column). Is there some way (via syntax) to force Access to let the host process this? Thanks.