I have uploaded a new development release of DBD::ODBC to CPAN. This fixes the issue reported in https://rt.cpan.org/Ticket/Display.html?id=46597 and represents a change in the behavior for binding parameters as DBD::ODBC was not following the DBI specification.
If you bind parameters and then also pass the parameter data into execute, DBD::ODBC would use either the default parameter type or what the ODBC driver described the parameter as with SQLDescribeParam instead of the type specified in the previous bind_param call. See the rt for an example. Martin -- Martin J. Evans Easysoft Limited http://www.easysoft.com