×

Propagating tables while preserving cyclic foreign key relationships

  • US 8,756,196 B2
  • Filed: 09/07/2012
  • Issued: 06/17/2014
  • Est. Priority Date: 06/30/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for propagating a plurality of database tables with cyclic foreign keys without permanently removing the cyclic foreign keys, the method comprising:

  • a computer identifying a first source database table and a second source database table with a cyclic foreign key relationship by iterating through a plurality of records listed in a cyclic member table that lists the plurality of database tables with cyclic foreign keys;

    the computer creating a first target database table;

    the computer copying said first source database table to said first target database table, the copying comprising replacing all cyclic foreign keys referencing said second source database table with “

    NULL”

    ;

    the computer iterating through the plurality of records of said cyclic member table in reverse order; and

    the computer updating said first target database table with the cyclic foreign keys referencing the second source database table from the first source database table.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×