Updating Data in Rowsets
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
The OLE DB Driver for SQL Server updates 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 OLE DB Driver for SQL Server-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 OLE DB Driver for SQL Server supports row synchronization before or after an update.
Note
IRowChange::SetColumns is available to set the values of one or more named columns of a row object.
In This Section
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om