Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.18 KB

File metadata and controls

24 lines (20 loc) · 1.18 KB
title Status Records
description Status Records
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic concept-article
helpviewer_keywords
diagnostic information [ODBC], diagnostic records
status records [ODBC]
diagnostic records [ODBC]

Status Records

The fields in the status records contain information about specific errors or warnings returned by the Driver Manager, driver, or data source, including the SQLSTATE, native error number, diagnostic message, column number, and row number. Status records can be created only if the function returns SQL_ERROR, SQL_SUCCESS_WITH_INFO, SQL_NO_DATA, SQL_NEED_DATA, or SQL_STILL_EXECUTING. For a complete list of fields in the status records, see the SQLGetDiagField function description.

This section contains the following topics.