I always understood that the CASE statement worked on a 'short-circuit' principle in that evaluation of subsequent steps does not take place if a prior step is evaluated to true. (This answer Does SQL ...
Update: see comparison of answers below. I need to convert data between two systems. First system stores schedules as a plain list of dates. Each date that is included in the schedule is one row. ...