Method, system, and program for processing a fetch request for a target row in a table that precedes as current row
Abstract
Provided is a method, system, program, and data structures for making data available to an application program. A result table is generated including rows corresponding to a subset of rows in a base table having data in one or more columns that satisfy a query predicate clause. The result table includes, for each row, a location identifier of the corresponding row in the base table and a column for each column in a query select list. The result table is accessed to return requested data from the base table to the application program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 32.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for making data available to an application program, comprising: generating a result table including rows corresponding to a subset of rows in a base table having data in one or more columns that satisfy a query predicate clause; maintaining a cursor row pointer tat points to a current row in the result table; receiving a fetch request from the application program to reposition the cursor row pointer to a target row in the result table that precedes the current row in the result table and return the data at the target row to the application program; scanning a current page including t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 32 total)
References Cited — Backward Prior Art (37)
Non-Patent Literature (5)
- IBM Corporation. "Call Level Interface Guide and Reference" Version 7, IBM DB2 Universal Database, Reference #SC09-2950-00, 2000, pp. iii-864.
- IBM, Corp., "Administration Guide: Performance" Version 6 from IBM DB2 Universal Database, Reference SC09-2840-00, 1999, pp. 219-226.
- IBM, Corp., "Dynamic Ordering of Joined Rows using Fields from MultipleTables", Technical Disclosure Bulletin, vol. 36, No. 11, Nov. 1993, pp. 363-366.
- IBM, Corp., "New Options for FETCH in SQL", Technical Disclosure Bulletin, vol. 36, No. 06A, Jun. 1993, pp. 559-560.
- IBM, Corp., "Orderable, Updatable, Scrollable Structured Query Language Cursors", Technical Disclosure Bulletin, vol. 38, No. 07, Jul. 1995, pp. 393-394.