Sorry I forget to give you the following links for the case that you want to use the ogr odbc way. Perhaps they might help you: http://www.remotesensing.org/gdal/ogr/ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcodbc_api_reference.asp