Ispirer Website
Ispirer Toolkit Overview
Free Trial
ODBC - SQLGetDiagRec Function
ODBC - SQLGetDiagRec | |
---|---|
Syntax | SQLRETURN SQLGetDiagRec( SQLSMALLINT HandleType, SQLHANDLE Handle, SQLSMALLINT RecNumber, SQLCHAR* SQLState, SQLINTEGER* NativeErrorPtr, SQLCHAR* MessageText, SQLSMALLINT BufferLength, SQLSMALLINT* TextLengthPtr); |
Description | Returns the current values of multiple fields of a diagnostic record that contains error, warning, and status information |
Returns | SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE |