skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_getJoinQuery
 

dam_getJoinQuery

This method takes the dam_hstmt as the parameter and returns the DAM_HQUERY. This API returns the current select query which is being processed by the Server to the IP. This is required as the user’s query can contain many subqueries.
int dam_getJoinQuery(
DAM_HSTMT hstmt)
 
Table 154: Parameters for dam_getJoinQuery 
Parameter
Type
Description
IN
 
 
hstmt
DAM_HSTMT
The statement handle.
RETURN
 
 
 
int
Status of the function call:
DAM_SUCCESS – all data retrieved.
DAM_FAILURE – error in getting data.