| title | Diagnostic Handling Examples | |||
|---|---|---|---|---|
| description | Diagnostic Handling Examples | |||
| author | David-Engel | |||
| ms.author | davidengel | |||
| ms.date | 01/19/2017 | |||
| ms.service | sql | |||
| ms.subservice | connectivity | |||
| ms.topic | concept-article | |||
| helpviewer_keywords |
|
The following examples show how various components in an ODBC connection might generate diagnostic messages and how various drivers might return diagnostics to the application with SQLGetDiagRec.