Full-Text Search and Semantic Search Functions (Transact-SQL)

This section describes the system functions related to full-text search and semantic search.

Full-Text Search Functions

  • CONTAINSTABLE (Transact-SQL)
    Returns a table of zero, one, or more rows for those columns containing precise or fuzzy (less precise) matches for single words and phrases, the proximity of words within a certain distance of one another, or weighted matches.

  • FREETEXTTABLE (Transact-SQL)
    Returns a table of zero, one, or more rows for those columns containing values that match the meaning, and not just the exact wording, of the text in the specified freetext_string.

Semantic Search Functions