Method for updating databases
Abstract
Techniques for batch-updating one or more structured query language (SQL) statements in a database are provided. The techniques include identifying a set of one or more data types, wherein the set comprises one or more columns that are each updated, respectively, by a SQL statement, identifying a set of one or more tables, wherein each of the one or more tables are updated, respectively, by a SQL statement, identifying a set of one or more columns used in a WHERE clause of each of one or more SQL statements, and batch-updating the one or more SQL statements, wherein batch-updating comprises creating a UNION ALL view comprising the set of one or more data types, the set of one or more tables and the set of one or more columns used in a WHERE clause, and wherein each SQL statement is mapped to each set of the UNION ALL view.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for batch-updating multiple distinct structured query language (SQL) statements in a database, comprising the steps of: identifying a set of one or more data types, wherein the set comprises one or more columns that are each updated, respectively, by one of the multiple distinct SQL statements; identifying multiple tables, wherein each of the multiple tables is updated, respectively, by one of the multiple distinct SQL statements; identifying a set of one or more columns used in a WHERE clause of each of the multiple distinct SQL statements; configuring a UNION ALL view for updating t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (4)
- Bin Liu, Maintaining large update batches by restructuring and grouping, Feb. 2, 2006, ScientDirect, p. 621-639.
- Sellis et al., "Optimization of Extended Database Query Languages," (1985) SIGMOD 424-436.
- Serge Rielau, Updatable Union All Views in DB2 Uniersal Database Version 8, Sep. 17, 2002, IBM Toronto Lab.
- Union All Views in DB2 Universal Database Version 8, http://www-128.ibm.com/developerworks/db2/library/techarticle/0209rielau/0209rielau.html, downloaded on Oct. 17, 2007.