Choosing a Cursor Type

Choosing a cursor type depends on several variables, including:

The default settings are fine for a small result set if no updating is done, but a dynamic cursor is preferred for a large result set in which the user is likely to find an answer before retrieving many of the rows.

Rules for Choosing a Cursor Type

Some simple rules to follow in choosing a cursor type are:

Each call to an API fetch function or method causes a roundtrip to the server when using server cursors. Applications should minimize these roundtrips by using block cursors with a reasonably large number of rows returned on each fetch.

  


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