http://www.perlmonks.org?node_id=767213


in reply to DBD_ODBC 1.21 does not accept DBI::SQL_LONGVARCHAR as data type anymore?

Create a self-contained small example in perl and post on rt.cpan.org under DBD::ODBC and I will look into it.

Replies are listed 'Best First'.
Re^2: DBD_ODBC 1.21 does not accept DBI::SQL_LONGVARCHAR as data type anymore?
by mje (Curate) on Jun 02, 2009 at 08:24 UTC

      This is technically a bug in DBD::ODBC since it does not follow the DBI specification in making parameter types sticky. However, an easy workaround for now is simply to leave the binding in the code but remove the data from the execute call.

      A proper fix is available in DBD::ODBC 1.21_1 which will appear on CPAN shortly.