Updating Data in Rowsets

The SQL Native Client OLE DB provider updates Microsoft SQL Server data when a consumer updates a modifiable rowset that contains that data. A modifiable rowset is created when the consumer requests support for either the IRowsetChange or IRowsetUpdate interface.

All SQL Native Client OLE DB provider-modifiable rowsets use SQL Server cursors to support the rowset. The rowset property DBPROP_LOCKMODE alters SQL Server concurrency control behavior in cursors and determines the behavior of rowset row fetching and data integrity error generation in updatable rowsets.

The SQL Native Client OLE DB provider supports row synchronization before or after an update.

[!참고] IRowChange::SetColumns is available to set the values of one or more named columns of a row object.

참고 항목

개념

Rowsets

도움말 및 정보

SQL Server 2005 지원 받기