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

dam_getFirstIndexCol

This function gets the first column associated with the optimal index returned by the dam_getOptimalIndexAndConditions function.
Use the function dam_getNextIndexCol to navigate to the next index column, and the function dam_describeIndexCol to obtain more information about each of the index columns.
DAM_HINDEX_COL dam_getFirstIndexCol(
DAM_HINDEX hIndex)
Table 114. Parameters for dam_getFirstIndexCol
Parameter
Type
Description
IN
hIndex
DAM_HINDEX
The index handle as returned by the dam_getOptimalIndexAndConditions function.
RETURN
DAM_HINDEX_COL
The first column making up the index. Call dam_describeIndexCol to retrieve details about this column.

See also

*dam_describeIndexCol
*dam_getNextIndexCol
*dam_getOptimalIndexAndConditions