CODBCBase.GetSqlStatemethod
Returns the SqlState for the specified handle.
Syntax
FUNCTION GetSqlState (BYVAL HandleType AS SQLSMALLINT, BYVAL Handle AS SQLHANDLE) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
HandleType | The handle type: SQL_HANDLE_DBC (connection handle) SQL_HANDLE_STMT (statement handle) | |
Handle | The handle value. |
Return value
The SqlState.
Description
Returns the SqlState for the specified handle.
Note: Optional feature not implemented in Microsoft Access Driver.
Reference
- Include file
CODBC.inc - Defined in AfxNova/COdbc.inc:167
- Documented in Databases/ODBC Classes/CODBC Class.md
- Topic: ODBC Classes