http://qs321.pair.com?node_id=1144505


in reply to DBD::ODBC insert first line, but not line 2

Assuming you are using a recent DBI and DBD::ODBC, set DBI_TRACE=DBD=x.log on the command line and rerun the script. What is in x.log?