dam_getNextJoinStmt
- 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 next table in the join. An IP uses this function to get the next statement handle for implementing the join pushdown.
For example, if tables A and B are joined in the listed order, then when processing table A you can call this function to get the handle for table B. In this case, table B is referred to as the inner table.
DAM_HSTMT dam_getNextJoinStmt(
DAM_HSTMT hstmt_outer)
Parameters for dam_getNextJoinStmt
| Parameter | Type | Description |
| IN | ||
| hstmt_outer | DAM_HSTMT | The statement handle of the current statement. |
| RETURN | ||
| hstmt | DAM_HSTMT | The statement handle of the next table in the join. |