Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 1.72 KB

the-odbc-cursor-library.md

File metadata and controls

24 lines (22 loc) · 1.72 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
The ODBC Cursor Library
The ODBC Cursor Library
David-Engel
davidengel
01/19/2017
sql
connectivity
conceptual
ODBC cursor library [ODBC], about cursor library
ODBC cursor library [ODBC]
cursor library [ODBC], about cursor library
scrollable cursors [ODBC]
cursors [ODBC], cursor library
block cursors [ODBC]

The ODBC Cursor Library

Important

This feature will be removed in a future version of Windows. Avoid using this feature in new development work and plan to modify applications that currently use this feature. Microsoft recommends using the driver's cursor functionality.

Block and scrollable cursors are very useful additions to many applications. However, not all drivers support block and scrollable cursors. The same is true of positioned update and delete statements and SQLSetPos, which are discussed in Updating Data. Therefore, the ODBC component of the Windows SDK, formerly included in the Microsoft Data Access Components (MDAC) SDK, includes a cursor library. The cursor library implements block, static cursors, positioned update and delete statements, and SQLSetPos for any driver that meets the Open Group Standard CLI conformance level. The cursor library may be redistributed with ODBC applications; see the licensing agreement in the SDK for more information.

To use the cursor library, an application sets the SQL_ATTR_ODBC_CURSORS connection attribute before it connects to the data source. For more information about the cursor library, see Appendix F: ODBC Cursor Library.