This function returns the current settings for the specified connection option.
Syntax :
RETCODE SQLGetConnectAttr (hdbc, fAttr, vParam, bLen, sLen);
Arguments:
The arguments for SQLGetConnectAttr are listed in below table.
| Type | Name | Description |
| SQLHDBC | hdbc | Connection handle |
| SQLINTEGER | fAttr | Attribute to retrieve |
| SQLPOINTER | vParam | Value associated with fAttr Depending on the value of fAttr |
| SQLINTEGER | bLen | Maximum number of bytes to store in pvParm| |
| SQLINTEGER * | sLen | Length of the output data, if the attribute is a character string; otherwise, unused |