Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Connection to a MSSQL Database

by Moonie (Friar)
on Jan 13, 2002 at 07:37 UTC ( [id://138390]=note: print w/replies, xml ) Need Help??


in reply to Connection to a MSSQL Database

You may want to try using Win32::ODBC. Or if you wish to stick to using DBI, you may want to use ODBC instead of ADO...OR take grep's advice - take out the semicolon.
$dbh = DBI->connect("dbi:ADO:$database",$user, $password) or die "Cannot connect: $DBI::errstr\n"; $dbh->disconnect();

- Moon

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found