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

damex_getParentQuery

This function returns the handle of the parent select query. It is typically used for getting outer query handle in correlated subqueries.
DAM_HQUERY damex_getParentQuery(
    DAM_HQUERY hquery)
Table 226. Parameters for damex_getFirstTable
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
RETURN
DAM_HQUERY
The handle to the parent query.