I need to write some data to SQL Server database from Linux in C++.
I found this sqlapi.com
But I think, at first ODBC driver has to be installe
FreeTDS is what you want. "FreeTDS is a set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases."
http://www.freetds.org