Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.18 KB

File metadata and controls

35 lines (26 loc) · 2.18 KB
title Updating Data Overview
description Updating Data Overview
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic concept-article
helpviewer_keywords
updating data [ODBC], about updating data
data updates [ODBC]
updating data [ODBC]
data updates [ODBC], about data updates

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.