SQL Flow Field Guide

date (data type)

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

data type date

What changes

Input
none
Output or change
none

Syntax at a glance

date

Work example

Store a calendar day when hours and minutes have no meaning.

Filter a day with a half-open range when the source column is a timestamp.

Check your work date has no time or time-zone component.

Practice SQL

Open in SQL Flow
SELECT CAST('2026-04-05' AS date) AS event_day;

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