Process for providing transitive closure using fourth generation structure query language (SQL)
First Claim
1. A method, for use in a computer having a processor, a plurality of storage elements and a display device, for determining a transitive closure between two verticies of a tree graph in standard SQL comprising the steps of:
- determining all verticies of said tree graph;
determining an edge table from all of the verticies;
deriving a path table from said verticies and said edge table, andfrom said path table determining at least one transitive closure path between said two if such transitive closure exists.
3 Assignments
0 Petitions
Accused Products
Abstract
Any existing transitive closure in a database can be found using a method based on standard 4th Generation Structured Query Language (SQL) without non-standard extensions to perform recursion analysis. There are no requirements to stay within a preset number of levels in the database to prevent breakdown as in previous known methods. The method represents each database as a graph and builds path and edge tables which are updated as data, that is verticies and edges, are added or deleted. Since this method uses instructions that are entirely within standard 4GL SQL, it can be used over multiple platforms as long as the platforms are 4GL SQL compliant.
68 Citations
10 Claims
-
1. A method, for use in a computer having a processor, a plurality of storage elements and a display device, for determining a transitive closure between two verticies of a tree graph in standard SQL comprising the steps of:
-
determining all verticies of said tree graph; determining an edge table from all of the verticies; deriving a path table from said verticies and said edge table, and from said path table determining at least one transitive closure path between said two if such transitive closure exists. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method, for use in a computer having a processor, a plurality of storage elements and a display device, for determining a transitive closure between two verticies of a directed acyclic graph in standard SQL comprising the steps of:
-
determining all verticies of said directed acyclic graph; determining an edge table from all of the verticies; deriving a path table from said verticies and said edge table, and from said path table determining at least one transitive closure path between said two if such transitive closure exists. - View Dependent Claims (7, 8, 9, 10)
-
Specification