skip to main content
IP API Reference for C/C++ : IP API for C/C++ : OASQLIP_procedurecolumns
 

OASQLIP_procedurecolumns

This function makes a result set available with columns that match the criteria specified by the input arguments. The result set must match the OA_PROCCOLUMNS table definition.
int OASQLIP_procedurecolumns(
SQLIP_HSTMT sqlip_hstmt,
OAWCHAR * sQual,
OADS_SMALLINT QualLen,
OAWCHAR * sOwner,
OADS_SMALLINT OwnerLen,
OAWCHAR * sOAName,
OADS_SMALLINT NameLen,
OAWCHAR * sColName,
OADS_SMALLINT ColumnNameLen)
 
Table 44: Parameters for OASQLIP_procedurecolumns 
Parameter
Type
Description
INPUT
 
 
sqlip_hstmt
SQLIP_HSTMT
Statement handle.
sQual
OAWCHAR *
Qualifier name used to narrow down the search. When set to NULL, the parameter is ignored for search.
QualLen
OADS_SMALLINT
Length of the qualifier name in characters.
sOwner
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.
OwnerLen
OADS_SMALLINT
Length of the owner name in characters.
sOAName
OAWCHAR *
Procedure name used to narrow down the search. When set to NULL, the parameter is ignored for search.
This is a pattern value argument.
NameLen
OADS_SMALLINT
Length of the procedure name in characters.
sColName
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.
ColumnNameLen
OADS_SMALLINT
Length of the column name in characters.
RETURN
 
 
 
int
OADS_SUCCESS
OADS_ERROR