Pyro
08-13-2009, 10:12 PM
Hi,
Consider the following scenario:
1 table
Approx 20 fields.
>1,000,000 records.
No PK.
A reference to a FK that relates to an order number.
Some records are legitimate duplicates (i.e. they exist b/c they are separate records).
Someone comes along and (accidentally) copies a whole bunch of these records, creating erroneous duplicates.
Apart from the fact that a table like this makes one feel dirty just looking at it, is there any way to find and remove these erroneous duplicates? Or is this a completely lost cause. At this point in time, I am going with the latter.
Just thought I would put it out there in case, you know... magic is real, and the world has been lying to me from day 1.
Consider the following scenario:
1 table
Approx 20 fields.
>1,000,000 records.
No PK.
A reference to a FK that relates to an order number.
Some records are legitimate duplicates (i.e. they exist b/c they are separate records).
Someone comes along and (accidentally) copies a whole bunch of these records, creating erroneous duplicates.
Apart from the fact that a table like this makes one feel dirty just looking at it, is there any way to find and remove these erroneous duplicates? Or is this a completely lost cause. At this point in time, I am going with the latter.
Just thought I would put it out there in case, you know... magic is real, and the world has been lying to me from day 1.