Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_getJoinQuery

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

This function is used to get the query's handle for the current Select Query that is being processed. This function is first called to get the handle of the query. Then the damex_getFirstTable and damex_getNextTable functions can be used to access the tables in the Select query. This is required as the user's query can contain many subqueries.

DAM_HQUERY dam_getJoinQuery(DAM_HSTMT hstmt)

Parameters for dam_getJoinQuery

Parameter Type Description
IN
hstmt DAM_HSTMT The statement handle.
RETURN
DAM_HQUERY Status of the function call:
DAM_SUCCESS - all data retrieved.
DAM_FAILURE - error in getting the data.

See also

TitleResults for “How to create a CRG?”Also Available inAlert