dam_copyRow
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This method makes a copy of the input row and returns its handle. The OpenAccess SDK SQL Engine allocates the memory required by the row and copies all existing values from the input row. The IP can replace values for some of the columns in the new row by calling dam_addxxxValToRow. The row should be freed if the dam_isTargetRow call fails.
int64 dam_copyRow(
int64 hstmt,
int64 hrow)
Parameters for dam_copyRow
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle |
| hrow | int64 | The row handle whose values should be copied into the new row |
| RETURN | ||
| int64 | The handle to a new row. A NULL is returned if a row could not be allocated. |