```sql CASE WHEN CAST(0 AS bit) THEN x ELSE y END ``` we can simply remove the WHEN block since it's condition is never met so the result would be just `y` If all the WHEN blocks have been removed and there is no ELSE condition we can return NULL
CASE WHEN CAST(0 AS bit) THEN x ELSE y ENDwe can simply remove the WHEN block since it's condition is never met so the result would be just
yIf all the WHEN blocks have been removed and there is no ELSE condition we can return NULL