Database query system
First Claim
1. A system for querying a database, comprising:
- a plurality of data records stored in a computer-readable medium;
a statement mapping database storing a plurality of first database query statements executable on a first database and not on a second database, and a plurality of second database query statements executable on a second database and not the first database;
a display;
a processor; and
one or more stored sequences of instructions which, when executed by the processor, cause the processor to;
receive, from a user device, a user query for execution at the first database, the user query comprising at least one second database query statement;
generate at least one first database query statement mapped to the at least one second database query statement received from the user by parsing the second database query statement and transforming the parsed second database query statement into a tree representation of the second database query statement, and generating the first database query statement from the tree representation of the second database query statement, wherein the processor further displays on the display in real-time with each keystroke portions of the first database query statement while the first database query statement is being determined by unparsing the tree representation of the second database query statement;
receive from the statement mapping database the at least one first database query statement mapped to the at least one second database query statement received from the user; and
execute the generated first database query statement within the first database.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for mapping a standard set of database query statements to a set of query statements for a target database, including a processor to receive an identification of a target database and identify any extension set of query statements of the target database, receive a plurality of standard database query statements, and map each standard database query statement to a query statement for the target database on the basis of an extension set associated with the target database. A statement mapping database may be created to map the query statements of the target database to the standard database query statements such that the processor may receive a standard database query statement and identify a corresponding query statement that is appropriate for the target database, and receive a query statement of the target database and identify a corresponding standard database query statement.
28 Citations
19 Claims
-
1. A system for querying a database, comprising:
-
a plurality of data records stored in a computer-readable medium; a statement mapping database storing a plurality of first database query statements executable on a first database and not on a second database, and a plurality of second database query statements executable on a second database and not the first database; a display; a processor; and one or more stored sequences of instructions which, when executed by the processor, cause the processor to; receive, from a user device, a user query for execution at the first database, the user query comprising at least one second database query statement; generate at least one first database query statement mapped to the at least one second database query statement received from the user by parsing the second database query statement and transforming the parsed second database query statement into a tree representation of the second database query statement, and generating the first database query statement from the tree representation of the second database query statement, wherein the processor further displays on the display in real-time with each keystroke portions of the first database query statement while the first database query statement is being determined by unparsing the tree representation of the second database query statement; receive from the statement mapping database the at least one first database query statement mapped to the at least one second database query statement received from the user; and execute the generated first database query statement within the first database. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for querying a database, the method comprising:
-
receiving, from a user device, a user query for execution at a first database, the user query comprising at least one second database query statement; querying a statement mapping database to generate at least one first database query statement mapped to the at least one second database query statement received from the user by parsing the second database query statement and transforming the parsed second database query statement into a tree representation of the second database query statement, and generating the first database query statement from the tree representation of the second database query statement while displaying on a display in real-time with each keystroke while receiving the user query for execution at the first database portions of the first database query statement while the first database query statement is being determined by unparsing the tree representation of the second database query statement; receiving from the statement mapping database the at least one first database query statement mapped to the at least one second database query statement received from the user; and executing the first query statement within the first database. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A non-transitory machine-readable medium carrying one or more sequences of instructions for querying a database, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
receiving, from a user device, a user query for execution at a first database, the user query comprising at least one second database query statement; querying a statement mapping database to generate at least one first database query statement mapped to the at least one second database query statement received from the user by parsing the second database query statement and transforming the parsed second database query statement into a tree representation of the second database query statement, and generating the first database query statement from the tree representation of the second database query statement while displaying on a display in real-time with each keystroke while receiving the user query for execution at the first database portions of the first database query statement while the first database query statement is being determined by unparsing the tree representation of the second database query statement; receiving from the statement mapping database the at least one first database query statement mapped to the at least one second database query statement received from the user; and executing the first query statement within the first database. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification