dam_getTableStmt
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
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)
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. |