1
下面的代碼忽略第一個五線,但我想最後無視我的CSV五行文件如何在使用「LOAD DATA INFILE」
$query = <<<eof
LOAD DATA LOCAL INFILE '$fname'
INTO TABLE rawdata_01
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"'
LINES TERMINATED AT '\n'
IGNORE 5 LINES
(SequenceNumber,CDRMajorVerision)
eof;