Q&A > database programming > What is required to use Perl on Solaris to connect to MS-SQL? - Answer contributed by Anonymous Monk

I successfully connect to MS-SQL 2000 from a Solaris box. Here is a list of what I used and in the order in which I compiled and installed the packages:
# Here's my connection string my $dbh = DBI->connect("dbi:Sybase:server=DDSql;database=toto", 'sa', +'pass', { RaiseError => 1, AutoCommit => 0 });
where DDSql is a DNS established in the freetds.conf file. It looks something like:
[DDSql] host = port = 1433 tds version = 8.0 emulate little endian = yes