Updating Data Overview
Applications can update data either by executing SQL statements or by calling SQLSetPos or SQLBulkOperations. UPDATE, DELETE, and INSERT statements act directly on the data source and are usually supported by drivers. Searched update and delete statements contain a specification of the rows to change. Positioned update and delete statements and SQLSetPos act on the data source through a cursor and are less widely supported.
Whether cursors can detect changes made to the result set with the methods described in this section depends on the type of the cursor and how it is implemented. Forward-only cursors do not revisit rows and therefore will not detect any changes. For information about whether scrollable cursors can detect changes, see Scrollable Cursors.
This section contains the following topics.
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för