SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Best approch to finding/fixing miss-spelled names.


Best approch to finding/fixing miss-spelled names.

Author
Message
ps_vbdev
ps_vbdev
Old Hand
Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)

Group: General Forum Members
Points: 389 Visits: 712
I have a column in a table that has user names, user can appear in this table multiple time, but as they are imported into the table from a csv there can be a number of different spellings of the same user i.e. 'Gavin Baxter', 'Gav Baxter', 'Gavin Baxter jr' , 'Gavin b Baxter'.

I need to idetify these users so i can update all there occurances with the one version of the name. I looked at soundindex but didnt seem to do group them the way i want.

any help out there?
Lowell
Lowell
One Orange Chip
One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)One Orange Chip (28K reputation)

Group: General Forum Members
Points: 28173 Visits: 39951
i cannot imagine any way to automate this;
this really requires someone to go thru the data, and familiar with a lot more than just the names/users;

you don't have any other criteria to group the names, other than the full name, with /without middle names and suffixes, to additionally filter the criteria? like email address, or phone number, or mail address?

the other issue is potentially two people can actually have the same name. you don't want to merge tow records unless you are sure they are the same person.

or it might be that Gavin registered twice, and really has two accounts, each with a different email? ie @gmail and also @yahoo?

Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

ps_vbdev
ps_vbdev
Old Hand
Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)Old Hand (389 reputation)

Group: General Forum Members
Points: 389 Visits: 712
Lowell (3/20/2013)
i cannot imagine any way to automate this;
this really requires someone to go thru the data, and familiar with a lot more than just the names/users;

you don't have any other criteria to group the names, other than the full name, with /without middle names and suffixes, to additionally filter the criteria? like email address, or phone number, or mail address?

the other issue is potentially two people can actually have the same name. you don't want to merge tow records unless you are sure they are the same person.

or it might be that Gavin registered twice, and really has two accounts, each with a different email? ie @gmail and also @yahoo?


yes i cant see it being automated, its really to help with identifying records i.e. OK these are all the 'Gavin Baxter' type variations so you choose. They also have Racing numbers and racing license numbers but these too can be incorrect and yes the rider could have registered twice in the one season but even so both those records need to be combined into the one for the season points summary.
Orlando Colamatteo
Orlando Colamatteo
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14943 Visits: 14396
Developing something like this yourself will takes years to perfect and will be low quality if you devote only a small number of resources towards it. Companies like MelissaData have name-recognition software that can help and although they cost money if this is a serious need for your business it will easily pay for itself.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search