FREETEXT and FREETEXTTABLE

FreeText and FreeTextTable incorporate what Microsoft considers to be the natural way to search. For example, if you were searching on book, you would expect to get hits to rows containing the word books (the plural). If you were searching on the word swimming, you would expect results containing the words swimming, swim, swims, swum, and so on. The FreeText and FreeTextTable queries implicitly search on all generations of a word and include a proximity-based search. However, if you wrap your search in double quotation marks, the FreeText and FreeTextTable predicates do not do any stemming. FreeText and FreeTextTable also include the TOP_n_BY_RANK parameter.

Here are some examples using FreeText and FreeTextTable:

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.