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 method is used to set the join order for the tables in the query. This method 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(long htable)

Parameters for dam_setJoinOrder

Parameter Type Description
IN    
htable long The table handle
RETURNS    
  int Status of the method call:
DAM_SUCCESS – Value is associated
DAM_FAILURE – Error
TitleResults for “How to create a CRG?”Also Available inAlert