I have a CSV file I imported into mySQL. One of the columns has dates in it but the data type for it in mySQL is 'text'.
How can I convert it to a date format? Example dates in the column:
2/2/2012
7/23/2011
11/27/2011
I've tried using
SELECT STR_TO_DATE(latest_launch,'%m,%d,%Y')
FROM cars;
But the output gives me a blank column. Thanks for the help.