in reply to Re: Using Perl to connect using trusted connection
in thread Using Perl to connect using trusted connection

This works PERFECT Thanks a lot!!! I mean this code :) Include Trusted_Connection=yes in your DSN.
my $DSN = "driver={SQL Server};Server=$server;database=$database;Trust + +ed_Connection=yes"; my $dbh = DBI->connect("dbi:ODBC:$DSN") || die +"Error: $DBI::errstr";