skip to main content
OpenAccess SDK SQL Engine core methods for .NET : Methods for .NET reference : dam_copyRow
 

dam_copyRow

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)
 
Table 101: 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.

See also 

dam_addxxxValToRow
dam_isTargetRow