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


in reply to Re: My MSSQL query fails the second time.
in thread My MSSQL query fails the second time.

Once I got ODBC working, that fixed it. Thanks!

Edited to add the DSN I'm using (dbi:ODBC:DRIVER=FreeTDS;Server=xxx;Port=1433;DATABASE=xxx) and the output of the test using that connection.

ok 1 - The object isa DBI::db ok 2 - The object isa DBI::st ok 3 - defined: '-1' ok 4 - $sth->finish ok 5 - The object isa DBI::st ok 6 - defined: '-1' ok 7 - $sth->finish 1..7