skip to main content
SQL Engine parse tree methods for .NET : SQL pass-through and advanced query methods reference : 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.
int64 damex_getTableByNum(
int64 hquery,
int iTableNum)
 
Table 249: Parameters for damex_getTableByNum 
Parameter
Type
Description
IN
 
 
hquery
int64
The query handle
iTableNum
int
The number of the table
RETURN
 
 
 
int64
The handle to the table. A zero is returned if the table does not exist.