SQLSetConnectAttr
Function
Sets various connection attributes.
Prototype
c
SQLRETURN SQLSetConnectAttr(SQLHDBC ConnectionHandle,
SQLINTEGER Attribute,
SQLPOINTER ValuePtr,
SQLINTEGER StringLength);Parameters
Table 1 SQLSetConnectAttr parameters
Return Values
SQL_SUCCESS: The call is successful.
SQL_SUCCESS_WITH_INFO: Some warning information is present.
SQL_ERROR: The connection attribute failed to be set.
SQL_INVALID_HANDLE: The input handle is invalid.
Example
See: Example