SQL query to get from database table which column record has most matching words to a specific sentence. Microsoft SQL server 2012?

You should set up a full text index on the column, and use the CONTAINS FREETEXTTABLE function.

The full answer with code is a bit long to post, but a solution I have used for a similar problem dealing with people names is to have a table of Word in addition to the table containing the full Sentence. Create an intersect table to make a many to many mapping between sentences and words. When you add a sentence, you also split it into words and update the Words table and the intersect table as well.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions