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

dam_getFirstInsertRow

This function gets the first row of data to be used for inserting into your data source.
Related functions:
*Use the functions dam_getFirstValueSet and dam_getNextValueSet to step through the columns of the insert row.
*Use the functions dam_getColToSet and dam_getValueToSet to retrieve the corresponding column handle and the associated value.
*Use the function dam_describeCol with the column handle to retrieve the name and number of the target column.
DAM_HROW dam_getFirstInsertRow(
DAM_HSTMT hstmt)
Table 115. Parameters for dam_getFirstInsertRow
Parameter
Type
Description
IN
hstmt
DAM_HSTMT
The statement handle.
RETURN
DAM_HROW
The handle to the insert row. NULL is returned if an insert row is not available. Do not use dam_freeRow with this handle to free the row.The OpenAccess SDK SQL engine automatically frees the row.

See also

*dam_describeCol
*dam_getFirstValueSet
*dam_getNextValueSet
*dam_getColToSet
*dam_getValueToSet
*dam_freeRow