SQL Flow Field Guide

JSON functions (overview)

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

none (documentation, rules or examples)

What changes

Input
none
Output or change
none

Syntax at a glance

n/a (reference page)

Work example

Validate, read, construct, or update JSON at a boundary between documents and relational rows.

Use JSON_VALUE for scalars, JSON_QUERY for objects or arrays, and OPENJSON when rows are needed.

Check your work SQL Server 2025 adds a native JSON type and aggregate functions, while older targets need the supported text path.

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