Generating queries using cardinality constraints
Abstract
A query generation using cardinality constraints process including choosing a first set of parameters for a query, calculating an additional set of parameters based on the first set of parameters, executing the query using additional set of parameters, evaluating the cardinality error the additional set of parameters, and refining the additional set of parameters to meet the desired cardinality constraint. Creating a query and selecting parameters for the query to meet a desired cardinality constraint or set of cardinality constraints when the query is executed against a database may be difficult. A query generation using cardinality constraints process may create a set of parameters for a query which satisfies a desired cardinality constraint or set of cardinality constraints. An application of such a query generation using cardinality constraints process may be database component and code testing.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 41 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for testing a component of a database application, the method comprising: populating, as specified by a user, a column in a database with test data that falls within a certain range specified by the user; specifying, by the user, a desired cardinality constraint suitable for testing the component, the component operating on a computing device, wherein the component is a software component; specifying, by the user, a parametric pattern query that includes a parameter, wherein the parametric pattern query is compatible with the database, and wherein the parametric pattern query is confi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (41)
Non-Patent Literature (5)
- Alice Rischert, Writing Better SQL Using Regular Expressions, Aug. 2003, Oracle Technology Network, from http://web.archive.org/web/20040220134041/http://www.quest-pipelines.com/newsletter-v5/0204-A.htm (a version of the publication dated Feb. 20, 2004) (retrieved Jun. 4, 2008).
- Chemaxon.com, Structure Searcing, from http://www.chemaxon.com/jchem/doc/guide/search/index.html (retrieved Jun. 4, 2008).
- David Chays et al. "An Agenda for testing relational database applications" Software Testing, Verification and Reliability, published online Jan. 20, 2004, vol. 14, issue 1, pp. 17-44, Copyright 2004 John Wiley and Sons, Ltd.
- Firstsql.com, SQL Tutorial, 2005, from http://www.firstsql.com/tutor2.htm (retrieved Jun. 2, 2008).
- Ingres.com, Predicates in SQL, from http://docs.ingres.com/sqlref/PredicatesinSQL (retrieved Jun. 2, 2008).