×

Techniques for query generation, population, and management

  • US 8,180,789 B1
  • Filed: 12/05/2005
  • Issued: 05/15/2012
  • Est. Priority Date: 12/05/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method stored in a non-transitory computer-readable medium and executed by a computer to perform the method, comprising:

  • receiving a request to build a query;

    generating a query identifier for the query;

    interactively acquiring metadata defining the query for purposes of dynamically and in real time generating the query, the metadata is centrally managed over a network and is stored in environments that are independent of user environments that use the metadata to establish the query, the metadata for defining the query assembled in three tables, a first table is a query table and includes a query identifier, a query name, a total number of parameters for the query, a query author identifier, a query modify date, and a use field that is a flag indicating whether the query is activated for use or deactivated so the query cannot be used, a second table is a Structured Query Language (SQL) table that includes an index on the query identifier and includes an entry for the query identifier within the second table for query SQL for executing the query, the entry in the SQL table also includes a security level for a resource that makes the request, the query SQL is parameterized, each parameter including a parameter identifier, a third table is a query parameter table indexed on the query identifier and the parameter identifier and each entry in the third table includes a parameter title, a parameter tip, a parameter order, a parameter string, and a data type code for a particular parameter identifier associated with that entry, the parameter string is a specific replaceable parameter item, and the parameter title providing descriptive information to a user and used to populate screen information and the parameter order defining an order for the replaceable parameter'"'"'s items and the parameter string representing the replaceable parameter;

    generating a query column table for when the query is executed including definitions for columns that house results of the query, the columns of the query column table used for generating reports;

    storing the query identifier and the metadata in the three tables for subsequent retrieval; and

    using a particular field of the metadata as an indication for whether to make the query and the metadata visible or invisible to other resources.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×