Contents Index Availability of cursors Requesting Adaptive Server Anywhere cursors

ASA Programming Guide
  Using SQL in Applications
    Choosing cursor types

Cursor properties


You request a cursor type, either explicitly or implicitly, from the programming interface. Different interface libraries offer different choices of cursor types. For example, JDBC and ODBC specify different cursor types.

Each cursor type is defined by a number of characteristics:

These characteristics may have significant side effects on performance and on database server memory usage.

Adaptive Server Anywhere makes available cursors with a variety of mixes of these characteristics. When you request a cursor of a given type, Adaptive Server Anywhere matches those characteristics as well as it can. The details of how Adaptive Server Anywhere cursors match the cursor types specified in the programming interfaces are the subject of the following sections.

There are some occasions when not all characteristics can be supplied. For example, insensitive cursors in Adaptive Server Anywhere must be read-only, for reasons described below. If your application requests an updatable insensitive cursor, a different cursor type (value-sensitive) is supplied instead.


Contents Index Availability of cursors Requesting Adaptive Server Anywhere cursors