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

damex_isCorrelatedCol

This function returns a Boolean to indicate if the column is a correlated column. The IP can use this to check if the column refers to tables from the current query or the parent query. The column is a correlated column when it belongs to a table of the parent query.
int damex_isCorrelatedCol(
    DAM_HCOL hcol)
Table 232. Parameters for damex_isCorrelatedCol
Parameter
Type
Description
IN
hcol
DAM_HCOL
The column handle.
RETURN
int
TRUE - If column is a correlated column
FALSE - If column is nota correlated column