Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getTableStmt

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

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.

long dam_getTableStmt(
    long hstmt_outer, 
    int  iTableNum)

Parameters for dam_getTableStmt

Parameter Type Description
INPUT
hstmt_outer long The statement handle of the current statement.
iTableNum int The table number for the table for which to get the conditions. Numbers start at 0.
RETURN
hstmt long The statement handle of the TableNum in the join.
If a matching TableNum is not found, 0 is returned.
TitleResults for “How to create a CRG?”Also Available inAlert