I have a column months which is a varchar(20) . How can I convert it to a date format . I did try this
select CAST(month as DATE FORMAT'dd.mm.yyyy') from TABLE_123
For which I get an error invalid date supplied for TABLE_123.
Thank you.
month
12
11
1
3
6
6