select case when true then cast("123" as int) else 100501 end
union all
select case when true then NULL else 100502 end
union all
select case when false then NULL else 100503 end;
