PC Review


Reply
Thread Tools Rate Thread

How do I delete similar (not identical) duplicate records?

 
 
=?Utf-8?B?RXJpYw==?=
Guest
Posts: n/a
 
      1st Aug 2005
Have the need to delete similar records that have differenent field data.
(Eg. "John, Doe," vs. "John Doe,,"

I do not have a primary key for each record.

Thank you in advance for your help.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QnJpYW4=?=
Guest
Posts: n/a
 
      2nd Aug 2005
You will have to have identical or at least "Like" data, but this, at best,
matches an exact portion of a string. If the comma delimitation is the only
issue, add another field to your table and udpate that field to contain a
plain (non-delimited ) version of the field data there. Just searching &
replacing all commas with nothing would get this field to "John Doe" in both
cases.

Or, alternatively, split the names into first/last fields, without commas in
either one, then search for duplicates on the first/last combination.

If there is no consistency such as this (i.e. location of the commas, etc),
then you'll probably be going through a lot of records manually.

"Eric" wrote:

> Have the need to delete similar records that have differenent field data.
> (Eg. "John, Doe," vs. "John Doe,,"
>
> I do not have a primary key for each record.
>
> Thank you in advance for your help.

 
Reply With Quote
 
=?Utf-8?B?RXJpYw==?=
Guest
Posts: n/a
 
      2nd Aug 2005
Thanks, Brian!

Though your insights were helpful, they confirmed what I feared. Indeed, I
need to do them manually, since a mere column addition wouldn't help as there
are too many variables with each record. Having to do it manually. Can you
say "Carpel Tunnel Syndrome?" Gone through about 25K records so far and am
about 3/4 done...

"Brian" wrote:

> You will have to have identical or at least "Like" data, but this, at best,
> matches an exact portion of a string. If the comma delimitation is the only
> issue, add another field to your table and udpate that field to contain a
> plain (non-delimited ) version of the field data there. Just searching &
> replacing all commas with nothing would get this field to "John Doe" in both
> cases.
>
> Or, alternatively, split the names into first/last fields, without commas in
> either one, then search for duplicates on the first/last combination.
>
> If there is no consistency such as this (i.e. location of the commas, etc),
> then you'll probably be going through a lot of records manually.
>
> "Eric" wrote:
>
> > Have the need to delete similar records that have differenent field data.
> > (Eg. "John, Doe," vs. "John Doe,,"
> >
> > I do not have a primary key for each record.
> >
> > Thank you in advance for your help.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete identical duplicate records Jules Microsoft Access Queries 1 15th Nov 2009 07:42 PM
Delete Non-identical but Similar Records Lindy Microsoft Excel Misc 2 19th Aug 2009 04:11 PM
How to delete "non-identical" duplicate records in an Access table Ernest Monterrosa Microsoft Access Queries 3 12th Dec 2007 07:44 PM
Report w/same number of duplicate identical pages as there are records AccessNeophyte Microsoft Access Reports 7 23rd Aug 2007 12:24 PM
Trying to remove very similar (not quite duplicate) records h.a. collins Microsoft Access Queries 3 22nd Apr 2004 03:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:56 AM.