• Nice QotD. It would have been more educational with third section

    select @c = 'test', @c1 = null, @d = '01/01/10', @d1 = '01/01/10',

    which brings nullif into fray...