4D v16ODBC_SQLGetDiagField |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
ODBC_SQLGetDiagField
ODBC_SQLGetDiagField
The ODBC_SQLGetDiagField command returns the current value of a field of a record of the diagnostic data structure (associated with a specified handleID) that contains error, warning, and status information. handleType defines the type of ID to pass to handleID, which can be one of the following constants:
handleID is a handle ID for the diagnostic data structure, of the type indicated by handleType. If handleID is the connectionID if handleType is equal to SQL_HANDLE_DBC. connectionID is a valid connection ID returned by ODBC_SQLAllocConnect and a connection must be established using the ODBC_SQLConnect command. If handleType is SQL_HANDLE_STMT, handleID is the stmtID, which is a valid statement ID returned by ODBC_SQLAllocStmt. recNb indicates the status record from which the application seeks information. diagID indicates the field of the diagnostic whose value is to be returned. It can be one of the following values:
diagInfoPtr is a pointer to the variable in which the diagnostic information will be returned. Its type is dependent on the diagID. For more information, please see the SQLGetDiagField function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms710181(VS.85).aspx. SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_INVALID_HANDLE, or SQL_NO_DATA.
Ver também
|
PROPRIEDADES
Produto: 4D
HISTÓRIA
Criado por: 4D ODBC Pro 2004 ARTICLE USAGE
4D ODBC Pro ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||