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

damex_getNextCaseElem

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

See also

*damex_describeCaseElem
*damex_getFirstCaseElem