# Header Fields

SQL_DIAG_CURSOR_ROW_COUNT
SQLINTEGER

SQL_DIAG_DYNAMIC_FUNCTION
SQLCHAR *

SQL_DIAG_DYNAMIC_FUNCTION_CODE
SQLINTEGER

SQL_DIAG_NUMBER
SQLINTEGER

SQL_DIAG_RETURNCODE
SQLRETURN

SQL_DIAG_ROW_COUNT
SQLINTEGER

# Record Fields

SQL_DIAG_CLASS_ORIGIN
SQLCHAR *

SQL_DIAG_COLUMN_NUMBER
SQLINTEGER

SQL_DIAG_CONNECTION_NAME
SQLCHAR *

SQL_DIAG_MESSAGE_TEXT
SQLCHAR *

SQL_DIAG_NATIVE
SQLINTEGER

SQL_DIAG_ROW_NUMBER
SQLINTEGER

SQL_DIAG_SERVER_NAME
SQLCHAR *

SQL_DIAG_SQLSTATE
SQLCHAR *

SQL_DIAG_SUBCLASS_ORIGIN
SQLCHAR *
