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

damex_getNextUpdateSet

This function returns the details about the next UPDATE column=value pair in the update query. Use it for navigating the UPDATE value list.
Call this function after calling damex_getFirstUpdateSet.
DAM_HVALEXP damex_getNextUpdateSet(
    DAM_HQUERY hquery,
    DAM_HCOL * phcol)
Table 224. Parameters for damex_getNextUpdateSet
Parameter
Type
Description
IN
hquery
DAM_HQUERY
The query handle.
When using this function in the basic IP mode, DAM_HSTMT should be passed for the query handle.
OUT
phcol
DAM_HCOL *
The column handle of the column to be updated.
RETURN
DAM_HVALEXP
The handle to the update value expression.
Use damex_describeValExp to get the value details.
A NULL is returned at the end of the list.

See also

*damex_describeValExp
*damex_getFirstUpdateSet