I have a table with a column date but it is stored as text.
Now I need to extract data based on date and I'm thinking I need to alter the column type to datetime, but how can I do that without losing data? My text records are in format dd-MM-YYYY hh:mm
If I just change the column type the data I lose all data (it is filled with zeros).