Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Using a LIKE statement (fuzzy match)

$
0
0

I need to match two tables together using the Name columns. Seems easy enough, but I need to use a LIKE statement or something.

See below examples:

Table A contains:

Name
John Smith
Julian Blaney
Daniel Bion

Table B contains:

Name
Mr John Smith (st4)

Harjot Singh
Dr. Daniel Bion

So you’ll notice that the columns in the tables don’t exactly match, any idea how we can do a fuzzy match using a like statement or something?

Thanks,


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>