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

damex_getFirstCaseElem

This function returns a handle to the first WHEN-THEN Case element of the CASE expression. It is used to navigate the WHEN-THEN list in the CASE expression.
DAM_HCASE_ELEM damex_getFirstCaseElem(
    DAM_HCASE_ELEM_LIST hCaseElemList)
Table 208. Parameters for damex_getFirstCaseElem
Parameter
Type
Description
IN
hCaseElemList
DAM_HCASE_ELEM_LIST
Case element list handle.
RETURN
DAM_HCASE_ELEM
The handle to the first WHEN-THEN Case element. Use damex_describeCaseElem to get the details of the element.

See also

*damex_describeCaseElem