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


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

For anyone following this the rt is https://rt.cpan.org/Public/Bug/Display.html?id=46597.

  • Comment on Re^2: DBD_ODBC 1.21 does not accept DBI::SQL_LONGVARCHAR as data type anymore?

Replies are listed 'Best First'.
Re^3: DBD_ODBC 1.21 does not accept DBI::SQL_LONGVARCHAR as data type anymore?
by mje (Curate) on Jun 02, 2009 at 16:02 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.