OASQLIP_statistics
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This function makes a result set available with statistics that match the criteria specified by the input arguments. The result set must match the OA_STAT table definition.
int OASQLIP_statistics(
SQLIP_HSTMT sqlip_hstmt,
OAWCHAR * sQual,
OADS_SMALLINT iQualLen,
OAWCHAR * sOwner,
OADS_SMALLINT iOwnerLen,
OAWCHAR * sName,
OADS_SMALLINT iNameLen,
OADS_SMALLINT inonunique,
OADS_SMALLINT fAccuracy)
Parameters for OASQLIP_statistics
| Parameter | Type | Description |
| INPUT | ||
| sqlip_hstmt | SQLIP_HSTMT | Statement handle. |
| sQual | OAWCHAR * | Qualifier name used to narrow down the search. NULL indicates ignore it for search. |
| iQualLen | OADS_SMALLINT | Length of the qualifier name in characters. |
| sOwner | OAWCHAR * | Owner name used to narrow down the search. NULL indicates ignore it for search. |
| iOwnerLen | OADS_SMALLINT | Length of the owner name in characters. |
| sName | OAWCHAR * | Table name used to narrow down the search. NULL indicates ignore it for search. |
| iNameLen | OADS_SMALLINT | Length of the table name in characters. |
| inonunique | OADS_SMALLINT | TRUE means that only indices for unique values will be returned. FALSE means that all indices will be returned. |
| fAccuracy | OADS_SMALLINT | TRUE means that results are allowed to reflect approximate or out-of-date values. FALSE requests that results be accurate. |
| RETURN | ||
| int | OADS_SUCCESS OADS_ERROR |