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

damex_describeUpdateQuery

This function returns details about the UPDATE query.
int damex_describeUpdateQuery(
    DAM_HQUERY hquery,
    DAM_HTABLE * phTable,
    DAM_HROW * phUpdateRow,
    DAM_HLOGEXP * phSearchExp)
Table 201. Parameters for damex_describeUpdateQuery
Parameter
Type
Description
IN
hquery
DAM_HQUERY
The query handle.
OUT
phTable
DAM_HTABLE *
The handle to the update table.
Use damex_describeTable/damex_describeTableW to get the table details.
phUpdateRow
DAM_HROW *
The handle to the update row.
Use damex_getFirstUpdateSet, damex_getNextUpdateSet to get the update set handles containing the column and value information of each column that should be updated.
phSearchExp
DAM_HLOGEXP *
The handle to the search expression in the WHERE clause.
Use damex_describeLogicExp to get details about the logical search expression.
RETURN
int
DAM_SUCCESS - on success
DAM_FAILURE - on failure

See also

*damex_describeLogicExp
*damex_describeTable/damex_describeTableW
*damex_getFirstUpdateSet
*damex_getNextUpdateSet