SQL Flow Field Guide

FREETEXTTABLE

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

ranked meaning-based search

What changes

Input
full-text index of a table, free text
Output or change
rowset of KEY and RANK

Syntax at a glance

FREETEXTTABLE (table , { column_name | (column_list) | * } , 'freetext_string' [ , LANGUAGE language_term ] [ , top_n_by_rank ] )

Work example

A search feature needs language-aware full-text results with key and rank columns.

Compare a known term and a related term in a test catalog. Record the language and population state.

Check your work FREETEXTTABLE. The returned keys match the test corpus and rank order is not treated as a confidence value.

Open Microsoft Learn for full syntax, permissions, and details for your version.