Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.41 KB

driver-manager-error-and-warning-checks.md

File metadata and controls

21 lines (18 loc) · 1.41 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Driver Manager Error and Warning Checks
Driver Manager Error and Warning Checks
David-Engel
davidengel
01/19/2017
sql
connectivity
conceptual
diagnostic information [ODBC], driver manager error checking
driver manager [ODBC], error checking

Driver Manager Error and Warning Checks

The Driver Manager completely or partially implements a number of functions and therefore checks for all or some of the errors and warnings in those functions.

  • The Driver Manager implements SQLDataSources and SQLDrivers and checks for all errors and warnings in these functions.

  • The Driver Manager checks whether a driver implements SQLGetFunctions. If the driver does not implement SQLGetFunctions, the Driver Manager implements and checks for all errors and warnings in it.

  • The Driver Manager partially implements SQLAllocHandle, SQLConnect, SQLDriverConnect, SQLBrowseConnect, SQLFreeHandle, SQLGetDiagRec, and SQLGetDiagField and checks for some errors in these functions. It may return the same errors as the driver for some of these functions because both perform similar operations. For example, the Driver Manager or driver may return SQLSTATE IM008 (Dialog failed) if either one is unable to display a login dialog box for SQLDriverConnect.