Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Using Perl to connect using trusted connection

by dev2dev (Initiate)
on Apr 15, 2010 at 07:22 UTC ( [id://834836]=note: print w/replies, xml ) Need Help??


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";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://834836]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-03-19 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found