O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required