Hierarchical data extraction
AssigneeOracle International Corporation
InventorsMichael John David Taylor, Gavin Charles William Lester
Life of this patent
Estimating the term…
Abstract
A computer implemented method is provided for extracting hierarchical data from one or more tables in a database, the method comprises firstly receiving user input identifying, one or more tables in the database that contain the hierarchical data and the hierarchical structure of the hierarchical data. A Structured Query Language (SQL) statement is then generated using the user input received. The SQL statement is presented to the database for execution and the hierarchical data are then extracted from the database in response to the execution of the SQL statement.
Claims11
A computer implemented method for extracting hierarchical data from one or more tables in a database, the method comprising:
- a. receiving user input identifying, at least, one or more tables in the database that contain the hierarchical data and a hierarchical structure of the hierarchical data;
- b. generating a Structured Query Language (SQL) statement using the user input received in step (a);
- c. presenting the SQL statement to the database for execution, wherein the SQL statement is generated from the user input by
- i. constructing object SQL statements executable to return all the database items identified by the user input;
- ii. constructing object SQL statements executable to calculate a level of an item in the hierarchical structure;
- iii. constructing object SQL statements executable to calculate a number of child items appendant to an item in the hierarchical structure;
- and,
- iv. combining the object SQL of steps (i) to (iii) to form a single object SQL statement;
- and,
- d. extracting the hierarchical data from the database in response to execution of the SQL statement.
Dependencies are inferred from the claim text.