Result formats of two equivalent SQL statements differ
Two variants of a SQL statement with a CASE clause show different date formats depending on the order in which the cases appear. In some cases an error may result from one variant but not the other.