SQL Flow Field Guide

Logical (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

A filter combines conditions and needs a deliberate rule for NULL values.

Build a truth table for each condition and add parentheses where the intended order is not obvious.

Check your work Logical (overview). The final TRUE, FALSE, or UNKNOWN value matches the written rule for every test row.

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