OASQLIP_columns
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
The OASQLIP_columns function makes a result set available with columns that match the criteria specified by the input arguments. The result set must match the OA_COLUMNS table definition.
int OASQLIP_columns(
SQLIP_HSTMT sqlip_hstmt,
OAWCHAR * psQual,
OADS_SMALLINT iQualLen,
OAWCHAR * psOwner,
OADS_SMALLINT iOwnerLen,
OAWCHAR * psTableName,
OADS_SMALLINT iTableLen
OAWCHAR * psColName,
OADS_SMALLINT iColumnLen)
Parameters for OASQLIP_columns
| Parameter | Type | Description |
| INPUT | ||
| sqlip_hstmt | SQLIP_HSTMT | Statement handle. |
| psQual | OAWCHAR * | Qualifier name used to narrow down the search. When set to NULL, the parameter is ignored for search. |
| iQualLen | OADS_SMALLINT | Length of qualifier in characters. |
| psOwner | OAWCHAR * | Owner name used to narrow down the search. When set to NULL, the parameter is ignored for search.This is a pattern value argument. |
| iOwnerLen | OADS_SMALLINT | Length of owner in characters. |
| psTableName | OAWCHAR * | Table name used to narrow down the search. When set to NULL, the parameter is ignored for search.This is a pattern value argument. |
| iTableLen | OADS_SMALLINT | Length of table_name in characters. |
| psColName | OAWCHAR * | Column name used to narrow down the search. When set to NULL, the parameter is ignored for search. This is a pattern value argument. |
| iColumnLen | OADS_SMALLINT | Length of column_name in characters. |
| RETURN | ||
| int | OADS_SUCCESS OADS_ERROR |