×

METHOD, SYSTEM, PROGRAM AND DATA STRUCTURE FOR CLEANING A DATABASE TABLE

  • US 20060195488A1
  • Filed: 05/11/2006
  • Published: 08/31/2006
  • Est. Priority Date: 09/21/1999
  • Status: Abandoned Application
First Claim
Patent Images

1. A computer implemented method for performing a clean operation on an input table having an input table name, comprising:

  • receiving at least one rule definition, wherein each rule definition indicates a find criteria, a replacement value, and an input data column in the input table;

    searching, for each rule definition, the input data column for any fields that match the find criteria;

    determining whether the rule definition specifies an output table; and

    in response to determining that the rule definition does not specify an output table, directly inserting, for each rule definition, the replacement value in the fields in the input data column that match the find criteria, wherein subsequent applications of additional rule definitions applied to the same input data column operate on replacement values inserted in the input data column in previously applied rule definitions, wherein at least one of said rule definition includes multiple find criteria and a corresponding replacement value for each find criteria, wherein searching the input data column comprises applying each of the multiple find criteria to one field until one of;

    (i) a match occurs and (ii) none of the multiple find criteria are found to match the field content, wherein inserting the replacement value comprises inserting the replacement value corresponding to one find criteria that matched the field content, wherein a sort column includes values to use to sort the multiple find criteria and corresponding replacement value, and wherein searching comprises applying the multiple find criteria to each field in the order specified in the sort column.

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