C++ Access to SQL Server from Linux

后端 未结 2 653
甜味超标
甜味超标 2021-02-07 19:08

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

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-07 19:52

    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

提交回复
热议问题