I have the following column value which I am converting and storing in another column
Nov 22 2014 00:00:00 AM
Now I am using the following query to convert it to Date format and store in another column
UPDATE DataNov2014 SET Datee = str_to_date(Date,'%d %b %Y %H:%i:%s');
But I am getting the following exception
Exception in thread "main" java.sql.SQLException: Incorrect datetime value: 'Nov 22 2014 00:00:00 AM' for function str_to_date
Is there any mistake in my query/date format ??
Any help would be appreciated, Thanks
tyr this