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

dam_getColInCond

This function gets the handle to the column on which a given condition applies. Use this function if you are using the dam_getOptimalIndexAndConditions function to get restrictions on multiple columns and then stepping through these conditions. For each condition obtained using the dam_getFirstCond or dam_getNextCond functions, call this function to determine the column involved in the condition.
DAM_HCOL dam_getColInCond(
DAM_HCOND hcond)
Table 105. Parameters for dam_getColInCond
Parameter
Type
Description
IN
hcond
DAM_HCOND
Condition obtained from a DAM_HCONDLIST using the dam_getFirstCond or dam_getNextCond functions.
RETURN
DAM_HCOL
Handle to the column associated with the condition.

See also

*dam_getFirstCond
*dam_getNextCond
*dam_getOptimalIndexAndConditions