How can I compare a Unix epoch timestamp with a DATE in SQL?
For example I have a DATE data_type column with one entry 14-DEC-20 (i.g to_date('14-DEC-20','DD-MON-RR')) and an epoch date equivalent to this. I want to check if the the DATE is equivalent to the epoch, if not then set the equivalent epoch date in the date.
I have tried from_unixtime or with CAST but it didn't work.