skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_getFirstInsertRow
 

dam_getFirstInsertRow

This method gets the first row of data to be used for inserting into your data source.
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.
long dam_getFirstInsertRow(long hstmt)
Table 178. Parameters for dam_getFirstInsertRow
Parameter
Type
Description
INPUT
hstmt
long
The statement handle.
RETURN
long
The handle to the insert row. 0 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 it.

See also

*dam_describeCol
*dam_getColToSet
*dam_getFirstValueSet
*dam_getNextValueSet
*dam_getValueToSet