Microsoft ODBC driver for Linux vs FreeTDS?
Asked Answered
S

3

8

I am investigating the possibilities to connect to a MSSQL database from a RHEL6 application server. I have found two ways:

Does anyone have experience in using either of these setups? (I'm especially curious about the latter, since it is officially supported by MS). Performance? Stability? Any other options I might be missing?

Smilacaceous answered 29/5, 2012 at 22:27 Comment(2)
Are you still using FreeTDS in 2019? I've been using it since 2014, mainly without issues, but I'm curious about Microsoft's drivers. Their recent docs look very useful: learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/…Valvular
No, not using it anymore.Smilacaceous
S
4

For the record, I went with FreeTDS at the moment. I evaluated both unixODBC and FreeTDS and found FreeTDS easier to work with at the moment.

Smilacaceous answered 13/7, 2012 at 10:42 Comment(2)
Would you care to expand on this answer? I also want to know the differences between the two options you provided in your question. How or in what way is FreeTDS easier to work with?Wooldridge
I found the documentation better, the APIs easier to start with and maybe most important, installation and deployment a lot easier. A big plus is that I can also read and understand the source code for FreeTDS.Smilacaceous
B
2

Another option is the MS JDBC driver for SQL Server

Bejarano answered 29/5, 2012 at 23:39 Comment(1)
Thanks. True, I should have written that the interface with the driver will be written in C++.Smilacaceous
S
2

If you're working with older versions of SQL Server (e.g. 2000), current Microsoft ODBC drivers may not work.

FreeTDS claims to work with all versions of MS SQL Server: http://www.freetds.org/faq.html#Does.FreeTDS.support.my.server

Serial answered 7/12, 2017 at 21:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.