×

Method, system, program, and data structure for cleaning a database table

  • US 7,249,151 B2
  • Filed: 07/26/2005
  • Issued: 07/24/2007
  • Est. Priority Date: 09/21/1999
  • Status: Expired due to Fees
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 user input identifying the input table name and at least one rule definition, wherein each rule definition indicates a find criteria, a replacement value, an input data column in the input table and an optional output table where cleaned data from the input table is to be placed, wherein each rule definition is associated with a rule table including multiple find criteria, a corresponding replacement value for each find criteria, and a sort-key column name for ordering the multiple find criteria;

    in response to the user input, generating an Application Program Interface (API) call that includes the identified input table name and the at least one rule definition; and

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

    determining whether the rule definition included in the API call specifies an output table;

    in response to determining that the rule definition in the API call specifies an output table, inserting the replacement value in the specified output table; and

    in response to determining that the rule definition does not specify an output table, directly inserting 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.

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