S
Stacie2410
I'm having trouble trying to delete duplicate records in a same table.
What I've got, is one table, that has around 12,000 records. What it should
have, is around 2,000 records. What has happened, is that the original 2,000
records somehow were duplicated 5 times each, and these duplicates need to be
deleted. I do not have a primary key set at the moment, but I do have a
field called "Record Number" that needs to be unique.
I've ran some other queries that will get rid of duplicates, but what it
did, was delete anything that was a duplicate of anything else. For instance,
if there were 5 of one record, it would delete all 5, rather than deleting 4,
and leaving 1. There's no unique factor about each row, such as a more
current date, etc, they are all identical, so I don't know how to tell it to
keep one, but trash the rest.
Any help you can provide is GREATLY appreciated. I'm pulling out my hair
trying to fix this for the past 5 days.
Thank you!
What I've got, is one table, that has around 12,000 records. What it should
have, is around 2,000 records. What has happened, is that the original 2,000
records somehow were duplicated 5 times each, and these duplicates need to be
deleted. I do not have a primary key set at the moment, but I do have a
field called "Record Number" that needs to be unique.
I've ran some other queries that will get rid of duplicates, but what it
did, was delete anything that was a duplicate of anything else. For instance,
if there were 5 of one record, it would delete all 5, rather than deleting 4,
and leaving 1. There's no unique factor about each row, such as a more
current date, etc, they are all identical, so I don't know how to tell it to
keep one, but trash the rest.
Any help you can provide is GREATLY appreciated. I'm pulling out my hair
trying to fix this for the past 5 days.
Thank you!