| title | Diagnostic Handling Examples | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 01/19/2017 | |||
| ms.prod | sql | |||
| ms.prod_service | connectivity | |||
| ms.reviewer | ||||
| ms.technology | connectivity | |||
| ms.topic | conceptual | |||
| helpviewer_keywords |
|
|||
| ms.assetid | 57f88c22-e7fa-4270-a0bf-443a2684cf6e | |||
| author | David-Engel | |||
| ms.author | v-daenge |
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.