skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getColOption
 

dam_getColOption

This method is used to retrieve the column options based on connection properties and the Column's Operator Support setting. The IP can use this method 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 set up using dam_setOption and column's operator support is specified in the column schema.
int dam_getColOption(
int64 hdbc,
int64 hcol,
int iType,
out int piValue)
 
Table 131: Parameters for dam_getColOption
Parameter
Type
Description
IN
 
 
hdbc
int64
The DAM connection handle.
Pass NULL if connection properties is to be ignored and only the column- specific value is to be returned.
hcol
int64
The column handle.
iType
int
Type of information requested:
DAM_COL_OPTION_IGNORE_CASE_IN_STRINGS – column values are to be considered case sensitive
DAM_COL_OPTION_IGNORE_BLANKS – trailing blanks in the column value are to be ignored
DAM_COL_OPTION_IGNORE_CASE_IN_LIKE – column values are to be considered case insensitive in LIKE operation.
OUT
 
 
piValue
int
The value of the column information
RETURN
 
 
 
int
Status of the call:
DAM_SUCCESS – retrieved the option value
DAM_FAILURE – error

See also 

dam_setOption