skip to main content
SQL Engine Parse Tree API : SQL Engine Parse Tree functions reference : damex_getCol and damex_getColW
 

damex_getCol and damex_getColW

This function returns the column handle that matches the given column name in the schema definition of the table.
DAM_HCOL damex_getCol(
    DAM_HTABLE hTable,
    char * sColName)

DAM_HCOL damex_getColW(
    DAM_HTABLE hTable,
    OAWCHAR * sColName)
Table 206. Parameters for damex_getCol and damex_getColW
Parameter
Type
Description
IN
hTable
DAM_HTABLE
The table handle.
sColName
char *
OAWCHAR *
The name of the column.
RETURN
DAM_HCOL
The handle to the column. A NULL is returned if the column does not exist.