The Salesforce driver reports errors to the application by returning SQL_ERROR to the failing ODBC API call. The application can then call SQLGetDiagRec to obtain the error details which consist of the following information:
■ Description of the probable cause of the error, prefixed by the component that generated the errorYou may need to check the last ODBC call your application made and refer to the ODBC specification for the recommended action.NOTE TO DATABASE.COM USERS: The error text reads [ODBC Salesforce Driver] even if the driver is connected to Database.com.