ms access - Using SQL for deduplication, SELECT similar fields -
i have access orders database containing 500+ customer names in field called "customername"
the problem orders entered, our sales team types names differently. ("acme inc" vs "acme, inc.") have several customers same company, appear differently.
so far i've written query shows distinct customername values, , need query can go through of these , show me names similar. perhaps if first ten letters of name matches? or ideally, if percentage of letters of name match.
i'm @ loss on how this, appreciated.
thanks much!
this depends on how names vary. if punctuation, case etc. can strip , compare based on that. if more complicated e.g. "inc, acme" vs "acme incorporated" have write function compare 2 strings score/rank them.
finding how similar 2 strings are
the above link question talks different algorithms used this.
the above link question has implementation of 1 of methods in vba
Comments
Post a Comment