SQL Flow Field Guide

CONTAINS

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

full-text predicate (words, phrases, prefix, proximity, inflection)

What changes

Input
full-text indexed columns
Output or change
boolean per row

Syntax at a glance

CONTAINS ( { column_name | ( column_list ) | * | PROPERTY ( { column_name }, 'property_name' ) } , '<contains_search_condition>' [ , LANGUAGE language_term ] )

Work example

A search screen needs CONTAINS to match text by the configured full-text rules.

Use a disposable full-text fixture and confirm its catalog is populated. Compare a known hit with a plain substring search.

Check your work CONTAINS. The CONTAINS result includes the known indexed match and returns no row for the absent term.

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