Word matching in SQL Server
问题 I have a requirement to provide a suggested match between data in two database tables. The basic requirement is; - A "match" should be suggested for the highest number of matched words (irrespective of order) between the two columns in question. For example, given the data; Table A Table B 1,'What other text in here' 5,'Other text in here' 2,'What am I doing here' 6,'I am doing what here' 3,'I need to find another job' 7,'Purple unicorns' 4,'Other text in here' 8,'What are you doing in here'