dam_getQuery
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method returns the query handle of the SQL statement for the current table that is 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 methods for Java.
long dam_getQuery(long hstmt)
Parameters for dam_getQuery
| Parameter | Type | Description |
| INPUT | ||
| hstmt | long | The statement handle. |
| RETURN | ||
| long | The handle to the query. | |