skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_setJoinOrder
 

dam_setJoinOrder

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)
Table 238. Parameters for dam_setJoinOrder
Parameter
Type
Description
IN
htable
long
The table handle
RETURN
int
Status of the method call:DAM_SUCCESS - Value is associatedDAM_FAILURE - Error