17
我需要根據某些條件更新帶有加載數據infile的表中的現有行,這可能嗎?mysql加載數據infile where子句
load data infile 'E:/xxx.csv' into table tld_tod @aaa, @xxx_date, @ccc fields terminated by ',' LINES TERMINATED BY '\r\n' set xxx = str_to_date(@xxx_date, '%d-%b-%y') where xxx is not null and [email protected]