SQL Flow Field Guide

semantickeyphrasetable

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

semantic search rowset

What changes

Input
semantic index of full-text indexed columns
Output or change
rowset (key phrases, similar documents, or shared phrases with scores)

Syntax at a glance

SEMANTICKEYPHRASETABLE ( table, { column | (column_list) | * } [ , source_key ] )

Work example

A search feature needs key phrases extracted from rows in a populated semantic index.

Use a small synthetic document set and confirm semantic indexing is complete. Compare phrases for one known document key.

Check your work semantickeyphrasetable. The key phrases belong to the requested document and no phrase is treated as a guaranteed fact.

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