skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getColOption
 

dam_getColOption

This function is used to retrieve the column options based on connection properties and column's operator support settings. The IP can use this function to check the aggregate setting of the column, which takes into account the global connection setting as well as the column specific setting. Connection properties are configured using dam_setOption and column's operator support is specified in the column schema.
DAM_HCOL dam_getColOption(
DAM_HDBC hdbc,
DAM_HCOL hcol,
int iType,
int * piValue)
Table 106. Parameters for dam_getColOption
Parameter
Type
Description
IN
hdbc
DAM_HDBC
DAM connection handle. Pass NULL if connection properties should be ignored and only the column-specific value should be returned.
hcol
DAM_HCOL
Column handle
iType
int
Type of information requested.
DAM_COL_OPTION_IGNORE_CASE_IN_STRINGS - column values should be considered case sensitive.
DAM_COL_OPTION_IGNORE_BLANKS - trailing blanks in the column value should be ignored.
DAM_COL_OPTION_IGNORE_CASE_IN_LIKE - column values should be considered case insensitive in LIKE operation.
OUT
piValue
int *
Value of the column information.
RETURN
int
Status of the call:
DAM_SUCCESS - returned the option value
DAM_FAILURE - error

See also

*dam_setOption