I can load the XML file but the data columns show as NULL. I want the column to be a date column but I can't figure out how to format the two date columns. If I add:
SET date1= STR_TO_DATE(@ddate1,'%M %e, %Y'), SET date2= STR_TO_DATE(@date2,'%M %e, %Y'); to the end of my load data, it fails on the second set. If I remove the second set it doesn't fail but date1 is still NULL. There are 25 columns in total and the date columns are the last columns so if there is a way to do it w/o listing out each column, that would be preferred.
Note: My workaround was to change the column to varchar and then did an update on the table to get the date format right.