SQL Flow Field Guide

Nondeterministic conversion

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

date literal conversions that depend on settings

What changes

Input
none
Output or change
none

Syntax at a glance

n/a (reference page)

Work example

Identify date text whose meaning changes with language or date-format settings.

Replace ambiguous literals with typed parameters or a documented unambiguous format.

Check your work A date string can parse to a different date under a different session language.

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