SQL Anywhere cursors are classified by their sensitivity to changes in the underlying data. In other words, cursor sensitivity is defined by the changes that are visible.
Insensitive cursors The result set is fixed when the cursor is opened. No changes to the underlying data are visible.
Sensitive cursors The result set can change after the cursor is opened. All changes to the underlying data are visible.
Asensitive cursors Changes may be reflected in the membership, order, or values of the result set seen through the cursor, or may not be reflected at all. See Asensitive cursors.
Value-sensitive cursors Changes to the order or values of the underlying data are visible. The membership of the result set is fixed when the cursor is opened. See Value-sensitive cursors.
The differing requirements on cursors place different constraints on execution and therefore affect performance.
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|