SQLConnect is an Objective-C wrapper for FreeTDS that will allow you to connect your iOS/OSX apps to Microsoft SQL Server or Sybase ASE without the need of going through a web service.