开发者

Is there a Microsoft SQL Server binding?

开发者 https://www.devze.com 2023-02-24 09:51 出处:网络
Could someone give me an orientation on the use of any 开发者_JAVA百科version of SQL Server? I\'m working with version 2003 at the moment.There is a C library freetds that allows you to natively talk

Could someone give me an orientation on the use of any 开发者_JAVA百科version of SQL Server?

I'm working with version 2003 at the moment.


There is a C library freetds that allows you to natively talk to Microsoft SQL Server and Sybase databases.

In order to use it in vala you need to create a "vapi file" (probably writing it manually) containing the class and method declarations in Vala syntax


In addition to the freetds library that o3o mentioned you can use unixODBC to access Microsoft SQL Server.

There are multiple unixODBC drivers for Microsoft SQL Server:

  • Microsoft ODBC Driver 11 for SQL Server on Linux (There is also an older version available
  • Microsoft SQL Server driver from easysoft
  • FreeTDS

There is also a list of unixODBC drviers on their homepage.

There is no readily available vapi file for unixODBC at the time of this writing. I'm working on a two layered approach for this. It's not finished yet, but might be useful someday ;).

0

精彩评论

暂无评论...
验证码 换一张
取 消