sqlipGetInfo
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method is called by the OpenAccess SDK layer to request information from the IP.
int sqlipGetInfo(
int iInfoType,
StringBuffer sInfoValue);
Parameters for sqlipGetInfo
| Parameter | Type | Description |
| INPUT | ||
| iInfoType | int | Option – see Table get_info Options |
| OUTPUT | ||
| sInfoValue | StringBuffer | Buffer to return the data into. |
| RETURN | ||
| int | OADS_SUCCESS – if the requested option is supported. OADS_ERROR – error occurred in obtaining the requested information. |
The following table defines the options for get_info.
get_info Options
| iInfoType | Description |
| OADS_STMT_INFO_NEXT_RESULT_SET_AVAILABLE (1) | Checks if more result sets are available for the current statement. Returns an integer value of 1 if more result sets are available, otherwise, returns 0. Returning a 1 will result in the sqlipOpenNextCursor method being called. |
| OADS_STMT_INFO_OUTPUT_RESULT_SET_AVAILABLE (2) | Reports whether the current statement had a return code and/or output parameters. Returns an integer value of 1 if yes, otherwise return 0. Returning a 1 results in the sqlipOpenOutputCursor being called. |
| OADS_STMT_INFO_QUERY_TIMEOUT (3) | Return the query time out setting in seconds. Return an integer value. |
| OADS_STMT_INFO_MAX_ROWS (5) | Returns the maximum number of rows setting. Return an integer value. |
| SQLDRV_INFO_NEXT_RESULT_SET_AVAILABLE (1) | Checks whether more result sets are available for the current statement. If more result sets are available, return a value of 1. The open_next_cursor method will be called. Otherwise, return 0. |
| SQLDRV_INFO_OUTPUT_RESULT_SET_AVAILABLE (2) | Reports whether the current statement had a return code and/or output parameters. if yes, return a value of 1. This results in the open_output_cursor being called. Otherwise, return 0. |