SQL Flow Field Guide

Trigger 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

Read values and row counts from the current trigger execution.

Write trigger logic for every row in inserted and deleted, including statements that affect several rows.

Check your work A trigger can receive multiple rows in one execution and must not assume a single-row insert.

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