Group: Extensible Storage Engine (ESE, Jet Blue) - Library: esent
Performs an update operation including inserting a new row into a table or updating an existing row.
Extensible Storage Engine class library
JET_ERR JET_API JetUpdate(
__in JET_SESID sesid,
__in JET_TABLEID tableid,
__out_opt void* pvBookmark,
__in unsigned long cbBookmark,
__out_opt unsigned long* pcbActual
);
DECLARE INTEGER JetUpdate IN esent;
INTEGER sesid,;
INTEGER tableid,;
INTEGER @pvBookmark,;
LONG cbBookmark,;
LONG @pcbActual
sesid The session to use for this call.
tableid The cursor to use for this call.
pvBookmark Pointer to a returned bookmark for an inserted row.
cbBookmark Size of the buffer pointed to by pvBookmark.
pcbActual The returned size of the bookmark for the inserted row returned in pvBookmark.
Returns the JET_ERR datatype with a predefined return code.
The function is the final step in performing an insert or an update. The update is begun by calling JetPrepareUpdate and then by calling JetSetColumn or JetSetColumns one or more times to set the record state.
Finally, JetUpdate is called to complete the update operation. Indexes are updated only by JetUpdate or JetUpdate2, and not during JetSetColumn or JetSetColumns.