Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

( #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? 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 = 10.10.1.44 port = 1433 tds version = 8.0 emulate little endian = yes

Comment on Answer: What is required to use Perl on Solaris to connect to MS-SQL?
Select or Download Code
Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-07-06 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls