in reply to Confused by DBI:ODBC Driver name

I'm not sure if this would address your issue, but you might try use DBD::ODBC and then in your connection string: driver={SQL Server} instead of DRIVER={MS SQL 2005}. I'm sure there's more to it than that. Perhaps some other monks who do more database programming have better ideas. Just my 2 ¢