Syntax
define external counter function SQLSetConnectOption
( read-only SQL_handle_type ConnectionHandle,
value counter Option,
read-only SQL_vector_type Value,
value counter ValueType )
Purpose
Sets options that govern aspects of a connection. This function has been superseded by SQLSetConnectAttr in ODBC 3.0.
Input arguments:
- ConnectionHandle.
- Option. The option to set. The following values are allowed:
- SQL_ACCESS_MODE
- SQL_AUTOCOMMIT
- SQL_LOGIN_TIMEOUT
- SQL_OPT_TRACE
- SQL_OPT_TRACEFILE
- SQL_TRANSLATE_DLL
- SQL_TRANSLATE_OPTION
- SQL_TXN_ISOLATION
- SQL_CURRENT_QUALIFIER
- SQL_ODBC_CURSORS
- SQL_QUIET_MODE
- SQL_PACKET_SIZE
- Value. The value to associate with Option.
- ValueType. The type of data specified in Value. The following values are allowed: SQL_CHAR and SQL_INTEGER.
|