Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_setJoinOrder

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

This function is used to set the join order for the tables in the query. This function is called for each table present in the query. The sequence in which it is called dictates the join order for those tables. The tables of the Select query can be accessed using dam_getJoinQuery first for getting Query handle, and damex_getFirstTable and damex_getNextTable for getting tables in the Select Query.

int dam_setJoinOrder(DAM_HTABLE htable)

Parameters for dam_setIP_hcol

Parameter Type Description
IN
htable DAM_HTABLE The statement handle.
RETURN
int Status of the function call:
DAM_SUCCESS - Value is associated
DAM_FAILURE - Error

See also

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