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

damex_getColByNum

This function returns the column handle that matches the given column number in the schema definition of the table. Columns are numbered starting at 0.
DAM_HCOL damex_getColByNum(
    DAM_HTABLE hTable,
    int iColNum)
Table 207. Parameters for damex_getColByNum
Parameter
Type
Description
IN
hTable
DAM_HTABLE
The table handle.
iColNum
int
The number of the column.
RETURN
DAM_HCOL
The handle to the column. A NULL is returned if the column does not exist.