To je jednoduché:
pro DATETIME:
UPDATE table_name
SET date_col=DATE_FORMAT(date_col,'2013-%m-%d %T');
pro DATE:
UPDATE table_name
SET date_col=DATE_FORMAT(date_col,'2013-%m-%d');
To je jednoduché:
pro DATETIME:
UPDATE table_name
SET date_col=DATE_FORMAT(date_col,'2013-%m-%d %T');
pro DATE:
UPDATE table_name
SET date_col=DATE_FORMAT(date_col,'2013-%m-%d');