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

dam_getFirstInsertRow

This method gets the first row of data to be used for inserting into your data source.
Use dam_getFirstInsertRow with the following related methods:
Use the methods dam_getFirstValueSet and dam_getNextValueSet to step through the columns of the insert row.
Use the methods dam_getColToSet and dam_getValueToSet to retrieve the corresponding column handle and associated value.
Use the method dam_describeCol with the column handle to get the name and number of the target column.
int dam_getFirstInsertRow(
int64 hstmt)
 
Table 141: Parameters for dam_getFirstInsertRow 
Parameter
Type
Description
IN
 
 
hstmt
int64
The statement handle
RETURN
 
 
 
int64
The handle to the insert row. A value of 0 is returned if an insert row is not available.
NOTE: Do not use dam_freeRow with this handle to free the row. The OpenAccess SDK SQL Engine automatically frees it.

See also

dam_describeCol
dam_getColToSet
dam_getFirstValueSet
dam_getNextValueSet
dam_getValueToSet