Query 5
- Last Updated: March 18, 2026
- 1 minute read
- OpenEdge
- Version 13.1
- Documentation
In Query 5 presented in this section, note the following points related to cursor behavior:
<2> The DataServer uses the cursor to compare schema information. It does not fetch any column values.
<3> The single lookahead cursor selects columns directly. It ignores
the field list because the FOR EACH loop defaults to a
SHARE-LOCK. Also, since FOR
EACH loops do not guarantee order of retrieval, the DataServer has not added an
ORDER BY clause. The DataServer called OCIStmtFetch2 to fetch an array of rows. The DataServer used the
default cache-size of 8192. Since 472 bytes are required for each row, it used 8024 bytes of
cache to fetch up to 17 rows each call. Processing the 85 rows in the CUSTOMER table required a total of 5 array fetches.
|
|