This function sets connection attributes for a particular connection.
Syntax :
RETCODE SQLSetConnectAttr (hdbc, fAttr, vParam, sLen);
Arguments:
The arguments for SQLSetConnectAttr are listed in below table.
| Type | Name | Description |
| SQLHDBC | hdbc | Connection handle |
| SQLINTEGER | fAttr | Connect attribute to set |
| SQLPOINTER | vParam | Value associated with fAttr |
| SQLINTEGER | sLen | Length of input value, if it is a character string; otherwise, unused |