http://www.perlmonks.org?node_id=993981


in reply to Need Help for connecting MSSQL SERVER From Linux(ubuntu)

When I needed to do this several years ago, I found Accessing Microsoft SQL Server from Linux using DBD::Sybase, which solved my problem at the time.

Note that the linked node describes how to connect to a MS-SQL server using DBD::Sybase and freetds, which may or may not be an option for you.

Cheers,
Darren

  • Comment on Re: Need Help for connecting MSSQL SERVER drom Linux(ubuntu)

Replies are listed 'Best First'.
Re^2: Need Help for connecting MSSQL SERVER drom Linux(ubuntu)
by tobyink (Canon) on Sep 17, 2012 at 09:21 UTC

    Agreed. The ODBC driver works great for connecting to Microsoft SQL Server on Windows, but on Linux the Sybase driver seems a lot more reliable.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
Re^2: Need Help for connecting MSSQL SERVER drom Linux(ubuntu)
by perlraj (Acolyte) on Sep 17, 2012 at 07:54 UTC

    Hi thanks a lot for your solution, but i have lot of scripts implemented using DBD::ODBC,so need to be done with DBD::ODBC.

    I have problem with creating and accessing datasouce.

    Thanks

    pushparaj