I have three date columns which represented by strings.
Columns date1
, and date2
are nullable columns.
I want to order then in the following order - date1, date2, date3.
Is this a good workaround:
Select coalesce (NULLIF(date1,''), NULLIF(date2,''), date3)