skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getTableStmt
 

dam_getTableStmt

This method gets the OpenAccess SDK SQL Engine statement handle for the tableNum in the join. This is used by the IP to get the statement handle for implementing the join pushdown.
int64 dam_getTableStmt(
int64 hstmt_outer,
int iTableNum)
 
Table 181: Parameters for dam_getTableStmt 
Parameter
Type
Description
IN
 
 
hstmt_outer
int64
The statement handle of the current statement.
iTableNum
int
The table number for the table that we want to get the conditions. Numbers start at 0.
RETURN
 
 
hstmt
int64
The statement handle of the TableNum in the join.
If a matching TableNum is not found, 0 is returned.