I have a CSV file with timestamps such as 2018-04-04T00:03:04Z. I created a table with a timestamp field and fill the table with the data from CSV, but an error is generated:
Incorrect datetime value
and my table isn't filled at all; doing a select query returns 0 rows.
I tried to use str_to_date(date_sale, "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'") but it returned null values.
Earlier I created the table with the date field as a string and everything goes right, but now I need to convert this field in a timestamp field anyway in order to manipulate the date. I'm filling the table with the Table Data Import Wizard.
Could anyone help with this?