This function sets attributes related to a statement.
Syntax :
RETCODE SQLSetStmtAttr(hstmt, fAttr, vParam, sLen);
Arguments :
The arguments for SQLSetStmtAttr are listed in below table.
| Type | Name | Description |
| SQLHSTMT | hstmt | Statement handle. |
| SQLINTEGER | fAttr | Attribute to set |
| SQLPOINTER | vParam | Value associated with Attribute |
| SQLINTEGER | sLen | Length of data if data is a character string; otherwise, unused. |