$dbh = DBI->connect("dbi:ADO:$database",$user, $password); || die "Cannot connect: $DBI::errstr\n" unless $dbh return; $dbh->disconnect(); [download]
In reply to Connection to a MSSQL Database by MiRaGe 508