Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-08-23 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (347 votes). Check out past polls.

    Notices?