Updated on 2026-11-06 GMT+08:00

when_expression

Syntax

None.

Description

The condition or value after WHEN in a CASE statement.

Simple CASE: the value compared with input_expression. Searched CASE: a boolean condition.