skip to main content
OpenAccess SDK SQL Engine Core Functions API : Function Reference : dam_copyRow
 

dam_copyRow

This function 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 value for some of the columns in the new row by calling dam_addValToRow. The row should be freed if the dam_isTargetRow call fails.
DAM_HROW dam_copyRow(
DAM_HSTMT hstmt,
DAM_HROW hrow)
Table 72. Parameters for dam_copyRow
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
hrow
DAM_HROW
The row handle whose values should be copied into a new row.
RETURN
DAM_HROW
The handle to a new row. A NULL is returned if a row could not be allocated.

See also

*dam_addValToRow
*dam_isTargetRow