Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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
NodeReaper says "Shhhh! Be vewy vewy quiet, I'm hunting wumpus"

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-02-25 16:53 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (366 votes). Check out past polls.