Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

damex_describeInsertQuery

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

This method returns details about the INSERT query.

int damex_describeInsertQuery(
    long hquery,
    long phTable,
    long phColList,
    long phInsertRowList,
    long phInsertQuery)

Parameters for damex_describeInsertQuery

Parameter Type Description
INPUT
hquery long The query handle.
OUTPUT
phTable long The handle to the insert table. Use damex_describeTable to get the table details.
phColList long The handle to the column list of the insert query. Use damex_getFirstColInList, damex_getNextColInList to get the insert columns and damex_describeCol to get each of the column details.
phInsertRowList long The handle to the rows containing the values specified in the INSERT query. Use damex_getFirstInsertRow, damex_getNextInsertRow to navigate the multiple insert value lists specified. If only one set of values are specified, the first call to damex_getNextInsertRow will return NULL. Use damex_getFirstInsertValExp and damex_getNextInsertValExp to navigate each of the rows.
phInsertQuery long The handle to the query whose result table rows are to be used as values to be inserted. The value of phInsertRowList will be NULL when this value is returned. Use damex_describeSelectQuery to get query details.
RETURN
int DAM_SUCCESS - on success
DAM_FAILURE - on failure

See also

TitleResults for “How to create a CRG?”Also Available inAlert