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

damex_getTableByNum

This method returns the table handle that matches the given table number in the FROM clause of the SELECT query. Table numbers start at 0.
long damex_getTableByNum(
     long hquery,
     int  iTableNum)
Table 294. Parameters for damex_getTableByNum
Parameter
Type
Description
INPUT
hquery
long
The query handle.
iTableNum
int
The number of the table.
RETURN
long
The handle to the table. 0 is returned if the table does not exist.