This function returns the current settings of the specified statement attribute.
Syntax :
RETCODE SQLGetStmtAttr(hstmt, fAttr, pvParam, bufLen, strLen);
Arguments :
The arguments for SQLGetStmtAttr are listed in below table.
| Type | Name | Description |
| SQLHSTMT | hstmt | Statement handle |
| SQLINTEGER | fAttr | Attribute to retrieve |
| SQLPOINTER | vParam | Value associated with fAttr |
| SQLINTEGER | bufLen | Maximum number of bytes to store in pvParm, if the value is a character string; otherwise, unused. |
| SQLINTEGER* | strLen | Length of the output data, if the attribute is a character string; otherwise, unused |