Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_describeUnionQuery

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

This function returns the handle to the UNION query.

int damex_describeUnionQuery(
    DAM_HQUERY     hquery,
    int        *   piUnionType,
    DAM_HQUERY *   phUnionQuery)

Parameters for damex_describeUnionQuery

Parameter Type Description
IN
hquery DAM_HQUERY The query handle.
OUT
piUnionType int * Indicates if UNION is specified as UNION ALL. Valid value are:
  • TRUE - indicates that all results should be returned without checking for duplicates
  • FALSE - indicates that distinct UNION results should be returned.
  • phUnionQuery DAM_HQUERY * Handle to the UNION query. Returns NULL if query does not have a UNION.
    RETURN
    int DAM_SUCCESS - on success
    DAM_FAILURE - on failure
    TitleResults for “How to create a CRG?”Also Available inAlert