Patents
US 7,539,660 B2#4180991 Most CitedExpiredUnited States (USPTO)Utility

Method and system for generating SQL joins to optimize performance

20Forward Citations (#4180991 Global)
1.2/yrCitation Velocity (#5206121 Global)
3.90Citation PageRank (#4952422 Global)
14Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An automated method for creating only the necessary joins in a SQL query. The present invention comprises a Query Program (QP), a Query Generation Program (QGP), and a Clause Generation Program (CGP). The QP accepts the query fields, filters, and sort criteria from the user, generates the query, sends the query to the database, and displays the query results. The QGP creates the query clause strings and inserts the strings into the SQL template. The QGP generates the SELECT, (filter) WHERE, and ORDER BY clauses. The QGP analyzes each parameter in a parameter list to determine if the parameter is on the added aliases list. If the parameter is not on the added aliases list, the QGP runs the CGP for the parameter. The CGP generates the FROM, JOIN, and (join) WHERE clauses and adds the clauses to the appropriate clause strings.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 20.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented process for creating a database query comprising: receiving a template which contains a necessary query language for the database query and a plurality of placeholders, but lacks a plurality of clauses required for the database query to produce a desired output; receiving a user entry of a plurality of fields, a plurality of filters, and a sort criteria; responsive to receiving the user entry of the plurality of fields, the plurality of filters, and the sort criteria, retrieving a plurality of aliases for the plurality of fields and the plurality of filters from a column

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • Icetips Cowboy SQL Templates (Icetips Cowboy SQL Templates User's Guide, Version 6.0, Feb. 20, 2003).