in reply to LINUX + MS SQL server

Have a look at FreeTDS and DBD::Sybase. I've used these together to connect to SQL server from a BSD box successfully.

If your heart is set on ODBC, look at iODBC.

Replies are listed 'Best First'.
Re^2: LINUX + MS SQL server
by Anonymous Monk on Jan 21, 2005 at 19:38 UTC
    Since I want to use the same code to connect both from Linux and Windows I guess I need iODBC. But, I get stumped with the driver. I still need a SQL Server Driver with iODBC, right?

    Are there no free drivers for SQL Server?
      Whether you use DBD::Sybase or an ODBC (unixodbc or iODBC), you will still need the FreeTDS driver.