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

damex_getFirstColInList

This function returns the first column in the list. Use it for navigating the ORDER BY column list and the GROUP BY column list.
DAM_HCOL damex_getFirstColInList(
    DAM_HCOL_LIST hColList)
Table 210. Parameters for damex_getFirstColInList
Parameter
Type
Description
IN
hColList
DAM_HCOL_LIST
The column list handle.
RETURN
DAM_HCOL
The handle to the column.
Use damex_describeCaseValExp to get GROUP BY column details and damex_describeCol to get ORDER BY column details.

See also

*damex_describeCaseValExp
*damex_describeCol