skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_getQuery
 

dam_getQuery

This function returns the query handle of the SQL statement for the current table being processed. The query handle can be used to get complete information about the query using the SQL Engine Parse Tree API. For more information, see SQL Engine Parse Tree API .
DAM_HQUERY dam_getQuery(
DAM_HSTMT hstmt)
Table 148. Parameters for dam_getQuery
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
RETURN
DAM_HQUERY
The handle to the query.