FIELD
mm/dd/yyyy
yyyy-mm-dd
dd.mm.yyyy
SELECT TO_DATE(field, 'mm/dd/yyyy')
FROM table
FIELD FIELD
01/30/2020 01/30/2020
2020-01-30 -> 01/30/2020
30.01.2020 01/30/2020
TO_DATE(field,
CASE
WHEN regexp_like(field, '^\d{4}-\d{1,2}-\d{1,2}$') THEN 'yyyy-mm-dd'
WHEN regexp_like(field, '^\d{1,2}\/\d{1,2}\/\d{4}$') THEN 'mm/dd/yyyy'
WHEN regexp_like(field, '^\d{1,2}.\d{1,2}.\d{4}$') THEN 'dd.mm.yyyy'
ELSE NULL
END
) AS field