How can I change VARCHAR() type to DATETIME using ALTER in MySQL?
VARCHAR()
DATETIME
ALTER
Why not you just use
STR_TO_DATE(str,format) ,
STR_TO_DATE(str,format)
It takes a string str and a format string format and returns a DATETIME value if the format string contains both date and time parts.
Reffer this LINK , Hope it may help you