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