SQL Flow Field Guide

Constants

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

literal formats (strings, N'', 0x binary, money, numeric, datetime)

What changes

Input
none
Output or change
none

Syntax at a glance

n/a (reference page)

Work example

Use literal values for fixed test data and simple expressions.

Use N for Unicode text and typed date or numeric literals where inference could change the result.

Check your work A literal's inferred type can affect precision, collation, and implicit conversion.

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