Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Connection to a MSSQL Database

by Moonie (Friar)
on Jan 13, 2002 at 07:37 UTC ( #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
Node Status?
node history
Node Type: note [id://138390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2020-01-26 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?