Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_isTableSubQuery

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

This function checks if the table is a subquery. For example, for the following query, you use this function to determine whether subqry1 is a table subquery:

SELECT * FROM (SELECT * FROM tab1) subqry1

If no table handle is found, this function returns NULL.

DAM_HQUERY dam_isTableSubQuery(DAM_HTABLE htable)

Parameters for dam_isTableSubQuery

Parameter Type Description
IN
hTable DAM_HTABLE A handle to the table. If not found, NULL.
RETURN
Int DAM_TRUE - The table is a subquery.
DAM_FALSE - The table is not a subquery.
TitleResults for “How to create a CRG?”Also Available inAlert