Good day everyone. I know in advance that this question is already posted on the site, however the solutions I have tried give me unsatisfactory results. My situation is as follows.
I have a table ( logs3
) with several fields of which the Date ( Date
) is saved as VARCHAR, now, I have created another field ( Date2
) with the data type DATE.
As data of possible interest:
-
The table has just over 300,000 records.
-
The current values in field
Date
have the American format 'M / D / YYYY'. -
PHPMyAdmin 4.7.1 in XAMPP for Windows.
-
Aurora DB instance
I tried with the sentence:
UPDATE 'logs3' SET 'Date2'= str_to_date( 'Date', '%d/%m/%Y')
And it runs correctly, but only with the first 51163 fields. I have verified and before as well as after registration 51163 the date is handled in the same way, format and value, nothing changes before or after that registration.
Surely I'm missing something. I beg your help please.
Thanks in advance.