Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Answer: What is required to use Perl on Solaris to connect to MS-SQL?

by Anonymous Monk
on Jul 21, 2003 at 18:53 UTC ( #276399=categorized answer: print w/replies, xml ) Need Help??

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:
  • freetds-0.61
  • DBD-Sybase-0.91
# 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

Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2016-10-01 20:15 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (7 votes). Check out past polls.