Skip to content

Latest commit

 

History

History
18 lines (18 loc) · 1.13 KB

File metadata and controls

18 lines (18 loc) · 1.13 KB
title Updating, Deleting, or Fetching by Bookmark
description Updating, Deleting, or Fetching by Bookmark
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic concept-article
helpviewer_keywords
updating by bookmarks [ODBC]
result sets [ODBC], bookmarks
fetches [ODBC], by bookmarks [ODBC]
deleting by bookmarks [ODBC]
bookmarks [ODBC]

Updating, Deleting, or Fetching by Bookmark

Bookmarks can be used to identify data to be updated in the result set, deleted from the result set, or fetched from the result set to the rowset buffers. These operations are performed by a call to SQLBulkOperations with an Option argument of SQL_UPDATE_BY_BOOKMARK, SQL_DELETE_BY_BOOKMARK, or SQL_FETCH_BY_BOOKMARK. The bookmarks used in these operations are stored in column 0 of the rowset buffers. When updating by bookmark, the data that result set columns are updated to is retrieved from the rowset buffers. For more information, see Updating Data with SQLBulkOperations.