0
votes

Could someone give me an orientation on the use of any version of SQL Server?

I'm working with version 2003 at the moment.

2
There's no SQL Server 2003... there's 2000, 2005, 2008... but no 2003. - Michael Fredrickson
This is not the place to ask general questions on how to use programming languages. This is a place for specific issue-related questions and answers. - JNK
@JNK While I agree that SO is not about asking for library in general, this is a very specific case. There are only a handful of possibilities here. This won't lead to a primarily opionion based discussion. - Jens Mühlenhoff

2 Answers

0
votes

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

0
votes

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:

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 ;).