Parameter
|
Type
|
Description
|
IN
|
||
hquery
|
DAM_HQUERY
|
The query handle.
|
OUT
|
||
phTable
|
DAM_HTABLE *
|
The handle to the insert table.
Use damex_describeTable/damex_describeTableW to get the table details.
|
phColList
|
DAM_HCOL_LIST *
|
The handle to the column list of the insert query.
Use damex_getFirstColInList, damex_getNextColInList to get the insert columns, and damex_describeCaseValExp to get each of the column details.
|
phInsertRowList
|
DAM_HROW_LIST *
|
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 returns NULL.
Use damex_getFirstInsertValueExp and damex_getNextInsertValueExp to navigate each of the rows.
|
phInsertQuery
|
DAM_HQUERY *
|
The handle to the query whose result table rows are to be used as values to be inserted. The value of phInsertRowList is NULL when this value is returned. Use damex_describeSelectQuery to get query details.
|
RETURN
|
||
int
|
DAM_SUCCESS - on success
DAM_FAILURE - on failure
|