Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

dam_copyRow

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 8.1
    • Documentation

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)

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

TitleResults for “How to create a CRG?”Also Available inAlert