Re: DBI error message

2001-09-25 Thread Andrea Holstein
Danilov Dmitry wrote: > > ... > #!/usr/bin/perl > use DBI; > my $dbh = DBI->connect > ("dbi:Sybase:mssql", 'test', 'test'); > die "Unable for connect to server $DBI::errstr" > unless $dbh; > my $rc; > my $sth; > $sth = $dbh->prepare("select * from test"); > if($sth->execute) { > while(@da

DBI error message

2001-09-24 Thread Danilov Dmitry
Hi ALL, I get pretty much all the time this error message when I try to connect to a remote MS SQL Server 2000 database. Anyone knows why this is happening and how to overcome it? Code looks like this #!/usr/bin/perl use DBI; my $dbh = DBI->connect ("dbi:Sybase:mssql", 'test', 'test'); die "Una