have a string field in DB which I need to convert to datetime, my problem is I need to convert date format from 03/01/2019 11:30 to 2011-01-26 14:30:00. I can do it with an individual record, but can't figure out how to convert all the records in the table.
I followed the advice here
but, all converted dates are 0000-00-00 00:00:00 presumably because mysql not able to guess input date format.
create table wms_lw.wms_lw (
site_id int null,
name varchar(255) null,
site varchar(255) null,
date varchar(255) null,
new_date datetime not null,
value double null,
date_2 varchar(255) null
);