Getting error “Data type for parameter x has changed since first SQLExecute call.” with SQLServer ODBC connection

After migrating either the application or only the ODBC driver to a newest version, a job using ODBC connection to SQLServer database aborts with the error message “Fatal Error: Fatal: [IBM(DataDirect OEM)][ODBC SQL Server Wire Protocol driver]Data type for parameter 3 has changed since first SQLExecute call.”
Metadata assigned on columns seems correct.

Related:

Leave a Reply