Method and apparatus for automatic table selection and generation of structured query language instructions
First Claim
1. A method for providing a plurality of query instructions to a database, comprising the steps of:
- receiving a plurality of input dimensions for selectively obtaining relational information between data in the database;
checking at least one driver table for relational information about the database;
automatically locating an intersection of common data between the plurality of input dimensions; and
generating a plurality of query instructions for communication to the database, the plurality of query instructions representing the relational query between the plurality of input dimensions.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus is provided for generating structured query language instructions for communication to a database. In response to receipt of user-supplied input dimensions, an output table is automatically selected that represents the user'"'"'s query of the relational database. The system automatically identifies and generates the links between data in predefined data tables within the database and the automatically selected output table. From the output table and data links, structured query language instructions are automatically generated. A technique is included to select the minimum number of tables reflective of the input dimensions. Each link between the input data tables and the output table is checked bi-directionally to ensure the integrity of the table selected.
-
Citations
24 Claims
-
1. A method for providing a plurality of query instructions to a database, comprising the steps of:
-
receiving a plurality of input dimensions for selectively obtaining relational information between data in the database; checking at least one driver table for relational information about the database; automatically locating an intersection of common data between the plurality of input dimensions; and generating a plurality of query instructions for communication to the database, the plurality of query instructions representing the relational query between the plurality of input dimensions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for providing a plurality of query instructions to a database, comprising the steps of:
-
receiving a plurality of user-supplied input dimensions to query the database, the user-supplied input dimensions for selectively obtaining relational information between data in the database; checking at least one driver table for relational information about the database; identifying a subset of data tables from the plurality of data tables, the subset of data tables corresponding to the user-supplied input dimensions; automatically locating an intersection of common data between the subset of data tables; dynamically selecting at least one output table representative of the intersection of the common data between the subset of data tables; generating at least one link between a first data within the subset of data tables and a corresponding data within the at least one output table; automatically checking the integrity of the at least one link to confirm the existence of the first data in the output table; and generating a plurality of query instructions for communication to the database, the plurality of query instructions representing the relationship identified through the at least one link between the user-supplied input dimensions.
-
-
16. A system for providing a plurality of query instructions for communication to a database having a plurality of data stored in the database, comprising:
-
input logic operable to receive a plurality of input dimensions, each input dimension representing data stored in the database; means coupled to the input logic for automatically identifying an intersection of data common to the plurality of input dimensions; and an output coupled to the database, the output for communicating a plurality of query instructions to the database, the plurality of query instructions developed from the intersection of common data. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23)
-
-
24. A system for providing a plurality of structured query language instructions for communication to a database having a plurality of data tables for organizing data stored in the database based upon a predefined criteria, comprising:
-
a memory for storing at least one driver table providing a translation of the relationship of the data tables in the database; means coupled to the memory for providing an indication of the data tables stored in the database and communicating such indication to a user; input logic coupled to the memory, the input logic operable to receive a plurality of user-supplied input dimensions, each input dimension identifying at least one data table stored in the database; a display coupled to the input logic, the display for providing a visual representation of the plurality of input dimensions; means coupled to the input logic for automatically identifying an intersection of data common to the plurality of input dimensions and generating at least one intersection table of common data in response to the identification; means coupled to the display for generating at least one link identifying the common data between the identified input dimensions and displaying the at least one link on the display; and an output coupled to the database, the output for communicating a plurality of structured query language instructions to query the database for requested data, the plurality of structured query language instructions developed from the generation of the at least one link.
-
Specification