Concept Flow - Simple CASE syntax
Start CASE expression
Evaluate expression value
Compare with WHEN values
Match found?
No→Check next WHEN
Return THEN result
No matches
Yes→Return ELSE result or NULL
End CASE expression
The CASE expression evaluates a value, compares it to WHEN values, returns the matching THEN result, or ELSE if no match.