The examples in this section are executed by a scrollable cursor. To generate the data in Table 18-4, execute:
select emp_id, fname, lname from emp_tab where emp_id > 2002000
The base table, emp_tab, is a datarows-locking table with a clustered index on the emp_id field. “Row position” is an imaginary column, whose values represent the position of each row in the result set. The result set in this table is used in the examples in the following sections, which illustrate both in ensitive and semi_sensitive cursors.
Copyright © 2005. Sybase Inc. All rights reserved. |