×

Method for generating SQL commands to create an integrated global schema

  • US 5,819,277 A
  • Filed: 03/26/1996
  • Issued: 10/06/1998
  • Est. Priority Date: 03/26/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A method residing in a computer system for integrating two relational schemas in object-oriented form to produce an integrated schema and for generating SQL commands for registering relations of the integrated schema:

  • comprising the steps of;

    a, receiving as inputs two relational input schemas of databases to be integrated in object-oriented form and specified correspondences between components, object classes, objects and attributes of said two schemas;

    b, folding together object classes within the same schema into one schema based on respective correspondences of attributes;

    c, merging two object classes, each object class being from a different input schema, based on assertions with respect to the attributes of said two object classes to produce an integrated object class of the integrated schema;

    d, repeating steps b and c until there are no more correspondences between attributes of the object classes of either of said input schemas that can be folded together and no more object classes that can be merged;

    e, creating an object class in the integrated schema for every object class of the two input schemas that remain after the completion of step d;

    f, generating SQL commands based on specified correspondences between attributes of the relations, with each SQL command generating a relation of the integrated schema depending upon whether the integrated relation corresponds to one and only one relation of one of the input schemas, or is the result of the merger of two relations one from each of the input schemas, and if the latter on specified correspondences of the attributes of the two relations of the input schemas.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×