skip to main content
SQL Engine parse tree methods for Java : damex_getColByNum
 

damex_getColByNum

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