LOAD DATA LOCAL INFILE ? INTO TABLE `edi`.`item` CHARACTER SET ascii FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n' (@col1, @col2, @col3, @col4, @col5, @col6, @col7, @col8, @col9, @col10, @col11) SET id = @col3, product_name = @col5, name = @col6, plant_id = @col8, group_id = @col10, entry_date = STR_TO_DATE(@col2, '%Y-%m-%d'), expiry_date = STR_TO_DATE(@col1, '%Y-%m-%d'), change_date_time = STR_TO_DATE(REGEXP_REPLACE(@col11, '\\+.*$', ''), '%Y-%m-%dT%H:%i:%s')