Cursor Types

ODBC defines four cursor types supported by Microsoft® SQL Server™ and the SQL Server ODBC driver. These cursors vary in their ability to detect changes to the result set and in the resources, such as memory and space in tempdb, they consume. A cursor can detect changes to rows only when it attempts to refetch those rows; there is no way for the data source to notify the cursor of changes to the currently fetched rows. A cursor’s ability to detect changes not made through the cursor is also influenced by the transaction isolation level.

These are the four ODBC cursor types supported by SQL Server:

See Also

Cursor Types

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.