Method, system and program product for rewriting structured query language (SQL) statements
Abstract
A method and system for rewriting Structured Query Language (SQL) statements. A SQL statement having search criteria including conditions pertaining to fields in database tables is received. A table from the SQL statement listing all combinations of the search criteria is created, every combination reflecting a subset of information used to determine combined results. A set of patterns among the possible combinations of the SQL statement based on the fields referenced in the combinations is identified. The table based on the set of patterns is sorted. Based on the sorting, the table is divided into temporary tables which are joined with the SQL statement. New temporary tables are generated. Each new temporary table includes results of a search conducted using a separate portion of the SQL statement as joined with the set of temporary tables. All results from the new temporary tables are combined into a single result table.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for rewriting Structured Query Language (SQL) statements, the method comprising: a computer receiving an SQL statement having search criteria that pertains to a plurality of fields in a plurality of database tables; the computer creating a first table from the SQL statement that lists all different combinations of the search criteria in the SQL statement, each of the combinations comprising one or more values of respective one or more fields of the database tables; the computer dividing the first table into an initial set of temporary tables, each of the temporary tables comprising th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Amendment filed May 5, 2008 in response to Office Action (Mail Date Feb. 4, 2008) for U.S. Appl. No. 10/987,346, filed Nov. 12, 2004.
- Amendment filed Nov. 9, 2007 in response to Office Action (Mail Date Aug. 9, 2007) for U.S. Appl. No. 10/987,346, filed Nov. 12, 2004.
- Appeal Brief filed Nov. 4, 2008 for U.S. Appl. No. 10/987,346, filed Nov. 12, 2004.
- BPAI Decision-Examiner Reversed (Mail Date Aug. 8, 2011) for U.S. Appl. No. 10/987,346, filed Nov. 12, 2004.
- BPAI Decision—Examiner Reversed (Mail Date Aug. 8, 2011) for U.S. Appl. No. 10/987,346, filed Nov. 12, 2004.