skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getTableStmt
 

dam_getTableStmt

This function 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.
DAM_HSTMT dam_getTableStmt(
DAM_HSTMT hstmt_outer,
int iTableNum)
Table 156. Parameters for dam_getTableStmt
Parameter
Type
Description
IN
hstmt_outer
DAM_HSTMT
The statement handle of the current statement.
int
iTableNum
The table number for the table for which you want to get the conditions.Numbers start at 0.
RETURN
hstmt
DAM_HSTMT
Statement handle of the TableNum in the join.NULL if Matching TableNum not found.