Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.35 KB

File metadata and controls

24 lines (20 loc) · 1.35 KB
title Next fetch position (Native Client OLE DB provider)
description Fetching Rows - Next Fetch (Native Client OLE DB Provider)
author markingmyname
ms.author maghan
ms.date 03/14/2017
ms.service sql
ms.subservice native-client
ms.topic reference
helpviewer_keywords
fetching rows
OLE DB rowsets, fetching
next fetch position
rowsets [OLE DB], fetching

Fetching Rows - Next Fetch (Native Client OLE DB Provider)

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

The [!INCLUDEssNoVersion] Native Client OLE DB provider keeps track of the next fetch position so that a sequence of calls to the GetNextRows method (without skips, changes of direction, or intervening calls to the FindNextRow, Seek, or RestartPosition methods) reads the whole rowset without skipping or repeating any row. The next fetch position is changed either by calling IRowset::GetNextRows, IRowset::RestartPosition, or IRowsetIndex::Seek, or by calling FindNextRow with a null pBookmark value. Calling FindNextRow with a nonnull pBookmark value does not affect the next fetch position.

See Also

Fetching Rows