skip to main content
SQL Engine Parse Tree API : SQL Engine Parse Tree functions reference : damex_getQueryType
 

damex_getQueryType

This function returns the type of the SQL query.
int damex_getQueryType(
    DAM_HQUERY hquery)
Table 228. Parameters for damex_getQueryType
Parameter
Type
Description
IN
hquery
DAM_HQUERY
The query handle.
RETURN
int
Type of the SQL query:
DAM_SELECT - SELECT
DAM_UPDATE - UPDATE
DAM_INSERT - INSERT
DAM_DELETE - DELETE