"Merge and purge" operations have been the bane of database administrators since the days when the data were stored on clay tablets marked with pointed styluses (styli?).

Other posters have given you advice which is as good as it gets for how to DETECT possible duplicates (starting with standardize, standardize, standardize), so I'm just going to remark on something to do AFTER you've detected such a pair.

On the basis of a quick eyeball inspection, I designate one of them as the "Keeper" record and the other as the "Doomed" record. Usually the Keeper is the one with either the most data or the most up-to- date data, since that'll mean less work to do changing it.

Then I go down a looonnnggg layout in which the Keeper record is displayed on the left and the corresponding fields from the Doomed record are shown on the right. For different clusters of data (such as all the address fields), I use a yellow highlight behind any Doomed data that are not exact matches for the Keeper data.

I've got buttons set up right down the middle (between the 2 displays) that will transfer a datum from the Doomed record to the corresponding field in the Keeper record where warranted ("warranted" being a judgment call by a knowledgeable human being).

It's particularly important to be sure that this display includes portals for every table that's linked to the records you're examining, so that you can transfer links or pointers from Receipts, Phone Numbers, Activities, Memberships, Committees, etc. from the Doomed to the Keeper record.

Building and maintaining this De-Duper layout is a non-trivial, daunting task, and actually using it is tedious and time-consuming (frequent breaks to clear the brain are absolutely essential), but IMHO it's critical for ensuring data integrity. You don't want to leave any dangling widows and orphans out there, and you for sure don't want to lose any critical data.


= = = = = =
Richard S. Russell, a Bright (http://the-brights.net)
2642 Kendall Av. #2, Madison  WI  53705-3736
608+233-5640 • [EMAIL PROTECTED]
http://richardsrussell.livejournal.com/

= = = = = =
Value of the typical computer dollar (replacement cost):
  hardware - 10¢; software - 5¢; data - 85¢

Reply via email to