[freetds] FreeTDS as a data access API from OS X

Robert Mullen robertm at autowc.com
Mon Aug 17 17:31:44 EDT 2009


I am developing applications for OS X using Cocoa and need to access  
legacy MS SQL Server databases. Ultimately I need to build a simple  
framework that abstracts connections, commands, results, and  
transactions for other members of my team. Right now I am trying to  
make sure I have a good feel for what is possible so the time is well  
spent. I have read through the docs on FreeTDS but some questions  
remain. Is it intended that most developers looking to build database  
connectivity into their applications using the FreeTDS components  
would do so using the ODBC driver and then the iODBC API? My  
preference would be not to add another layer of abstraction but rather  
to as close to the metal as possible. I have looked at the API  
documentation on FreeTDS.org and have seen the implementation of  
programs like TSQL but am still having problems with some of the  
functions. I wonder if maybe I am barking up the wrong tree by trying  
to code my framework in the same manner as something like TSQL as  
opposed to using the iODBC interface.

Anybody care to offer thoughts or experiences?

TIA


More information about the FreeTDS mailing list