sqlipSetInfo
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method is called to inform the IP of various statement level options such as the maximum number of rows to return, and query timeout. The IP can optionally use this information in its processing.
int sqlipSetInfo(
int iInfoType,
String sInfoValue);
Parameters for sqlipSetInfo
| Parameter | Type | Description |
| INPUT | ||
| iInfoType | Option type | Options are is defined in Table SetInfo Options |
| RETURN | ||
| int | OADS_SUCCESS – if you are able to successfully apply the option or if you want to ignore the options. OADS_ERROR – if error in handling the requested option for which you do have support. |
The following table describes the syntax for the SetInfo options.
SetInfo Options
| iInfoTpe | Description |
| OADS_STMT_INFO_QUERY_ TIMEOUT | Seconds to wait for query to finish executing. A value of 0 indicates no limit. |
| OADS_STMT_INFO_MAX_ROWS | Maximum number of rows to return. A value of 0 indicates no limit. This value must be a 64-bit integer. |