Products Support Documentation Download
ODBC Diagnostic Functions
Collaboration diagram for ODBC Diagnostic Functions:

Functions

SQLRETURN SQLGetDiagField (SQLSMALLINT HandleType, SQLHANDLE Handle, SQLSMALLINT RecNumber, SQLSMALLINT DiagIdentifier, SQLPOINTER DiagInfo, SQLSMALLINT BufferLength, SQLSMALLINT *StringLength)
 Obtain the information about a single diagnostic record field. More...
 
SQLRETURN SQLGetDiagRec (SQLSMALLINT HandleType, SQLHANDLE Handle, SQLSMALLINT RecNumber, SQLCHAR *Sqlstate, SQLINTEGER *NativeError, SQLCHAR *MessageText, SQLSMALLINT BufferLength, SQLSMALLINT *TextLength)
 Obtain the information about multiple diagnostic record fields. More...
 

Detailed Description

Function Documentation

◆ SQLGetDiagField()

SQLRETURN SQLGetDiagField ( SQLSMALLINT  HandleType,
SQLHANDLE  Handle,
SQLSMALLINT  RecNumber,
SQLSMALLINT  DiagIdentifier,
SQLPOINTER  DiagInfo,
SQLSMALLINT  BufferLength,
SQLSMALLINT StringLength 
)

#include <sql.h>

Obtain the information about a single diagnostic record field.

See http://msdn.microsoft.com/en-us/library/ms710181(v=vs.85).aspx

◆ SQLGetDiagRec()

SQLRETURN SQLGetDiagRec ( SQLSMALLINT  HandleType,
SQLHANDLE  Handle,
SQLSMALLINT  RecNumber,
SQLCHAR Sqlstate,
SQLINTEGER NativeError,
SQLCHAR MessageText,
SQLSMALLINT  BufferLength,
SQLSMALLINT TextLength 
)

#include <sql.h>

Obtain the information about multiple diagnostic record fields.

See http://msdn.microsoft.com/en-us/library/ms716256(v=vs.85).aspx