in reply to Using trusted connection to MS SQL
Just leave off the username and password.
my $dbh= DBI->connect( "dbi:ODBC:Driver=SQL Server;Server=$dbsrvr", '', '', { RaiseError => 1, PrintError => 0, ... }, ); [download]
- tye