dam_addRowToTable
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method adds the row to the result set. The IP should call this method if dam_isTargetRow returns DAM_TRUE. All rows that are added to the result set will be sent back to the client. The IP should check the return code from this method and, on failure, stop processing the query and return DAM_FAILURE.
int dam_addRowToTable(
long hstmt,
long hRow)
Parameters for dam_addRowToTable
| Parameter | Type | Description |
| INPUT | ||
| hstmt | long | The statement handle. |
| hRow | long | The row handle. |
| RETURN | ||
| int | DAM_SUCCESS - Added the row. DAM_FAILURE - Failed to add the row. This could occur when values for all columns are not specified or there is an error in computing any expressions in the SELECT list. If return code is DAM_FAILURE, the IP should return from ipExecute with DAM_FAILURE. DAM_ABORT_OPERATION - Failed to add the row when any of the specified resource quotas are exceeded. For example, if the Query Timeout occurs, this error is returned. The IP should check and return from ipExecute with DAM_FAILURE. |
|