dam_getFirstInsertRow
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
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)
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. |