PugSA has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to create a direct connection to a MSSQL database I currently use ODBC but I want to automatically generate databases and dont want to manually add the ODBC connection
I've installed the DBD::Sybase module (I'm using perl for windows). When I run the following code I get and error unable to locate component libct.dll
I've googled for the dll but cant find anyware to download these there is some thing about installing sybase but I dont want to do that because I just want to connect to mssql
#!/usr/local/bin/perl # use DBI; my $dbh = DBI->connect("dbi:Sybase:server=sql01", 'piet', 'pompies', { +PrintError => 0}); die "Unable for connect to server $DBI::errstr" unless $dbh;
Please help because there is clearly somthing I dont understand about this
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Direct Connection to MSSQL
by Jenda (Abbot) on Dec 04, 2009 at 14:33 UTC | |
by PugSA (Beadle) on Dec 07, 2009 at 11:16 UTC | |
|
Re: Direct Connection to MSSQL
by derby (Abbot) on Dec 04, 2009 at 13:59 UTC | |
|
Re: Direct Connection to MSSQL
by mpeppler (Vicar) on Dec 07, 2009 at 05:54 UTC | |
|
Re: Direct Connection to MSSQL
by misterwhipple (Monk) on Dec 04, 2009 at 14:33 UTC |