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