Techniques for using database metric results
First Claim
Patent Images
1. A method implemented in a non-transitory computer-readable storage medium and processed by a processor to perform the method, comprising:
- receiving, by the processor, Structured Query Language (SQL) statements;
identifying, by the processor, a first metric calculation and a second metric calculation included and used in the SQL statements, wherein both the first metric calculation and the second metric calculation are processed as part of the SQL statements and summed as a source input for a target rule that is also processed and included within the SQL statements, the source input is a sum of previous rules; and
processing, by the processor, the first metric calculation and the second metric calculation against a database and using results from both the first metric calculation and the second metric calculation as the source that is fed to the target rule within the SQL statements, and wherein the target rule is processed with the results.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for using database metric results are provided. Structure Query Language (SQL) statements are parsed for multiple metric calculations. Each metric calculation is dynamically processed against a database to obtain combined results. The combined results are fed to remaining portions of the SQL statements as a source for or a driver to the remaining portions of the SQL statements.
10 Citations
19 Claims
-
1. A method implemented in a non-transitory computer-readable storage medium and processed by a processor to perform the method, comprising:
-
receiving, by the processor, Structured Query Language (SQL) statements; identifying, by the processor, a first metric calculation and a second metric calculation included and used in the SQL statements, wherein both the first metric calculation and the second metric calculation are processed as part of the SQL statements and summed as a source input for a target rule that is also processed and included within the SQL statements, the source input is a sum of previous rules; and processing, by the processor, the first metric calculation and the second metric calculation against a database and using results from both the first metric calculation and the second metric calculation as the source that is fed to the target rule within the SQL statements, and wherein the target rule is processed with the results. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method implemented in a non-transitory computer-readable storage medium and processed by a processor to perform the method, comprising:
-
dynamically parsing, by the processor, Structured Query Language (SQL) statements to obtain from the SQL statements a first metric calculation and a second metric calculation both the first metric calculation and the second metric calculation included within the SQL statements;
processing, by the processor, both the first metric calculation and the second metric calculation against a database, as part of the processing associated with executing the SQL statements, and then summing first results from the first metric calculation with second results from the second metric calculation to produce combined results, and wherein the first metric calculation is defined by chained rules; andusing, by the processor, the combined results as input to other portions of the SQL statements while processing the other portions against the database, wherein the input is a sum of previous rules. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A computer-implemented system that executes on one or more processors, the system comprising:
-
a processor configured with a Structured Query Language (SQL) preprocessor implemented in a non-transitory computer-readable storage medium and executed by the processor of a network; and the processor configured for accessing a data store implemented in a non-transitory computer-readable storage medium and accessible to the SQL preprocessor; wherein the SQL preprocessor iterates SQL statements while processing the SQL statements to automatically and dynamically identify and process multiple metric calculations that are defined and included within the SQL statements against the database to produce combined results that feed other portions of the SQL statements while those other portions of the SQL statements are processed, the multiple metric calculations defined by chained rules, and the combined results that feed other portions of the SQL statements is a sum of previous rules. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification