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 successDAM_FAILURE - on failure
|