SQL Flow Field Guide

Collation - COLLATIONPROPERTY

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

collation metadata lookup

What changes

Input
collation name and property
Output or change
property value
Return type
sql_variant

Syntax at a glance

COLLATIONPROPERTY( collation_name , property )

Work example

Inspect a documented property of a named collation when reviewing text comparison rules.

Test comparisons with representative Unicode values before changing a column collation.

Check your work Collation properties do not show how every application language will sort text.

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