skip to main content
SQL Engine Parse Tree API : SQL Engine Parse Tree functions reference : damex_getNextColInList
 

damex_getNextColInList

This function returns the next column in the list. Use it for navigating the ORDER BY column list and the GROUP BY column list. Call this function after calling damex_getFirstColInList.
DAM_HCOL damex_getNextColInList(
    DAM_HCOL_LIST hColList)
Table 219. Parameters for damex_getNextColInList
Parameter
Type
Description
IN
hColList
DAM_HCOL_LIST
Column list handle.
RETURN
DAM_HCOL
The handle to the next column.
To get GROUP BY column details, use damex_describeCaseValExp.
To get ORDER BY column details, use damex_describeCol.
A NULL is returned at the end of the list.

See also

*damex_describeCaseValExp
*damex_describeCol
*damex_getFirstColInList