📜  mysql 加载数据 infile csv - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:34.890000             🧑  作者: Mango

代码示例1
LOAD DATA LOCAL INFILE 'abc.csv' INTO TABLE abc
FIELDS TERMINATED BY ',' 
ENCLOSED BY '"' 
LINES TERMINATED BY '\n'
IGNORE 1 LINES
(col1, col2, col3, col4, col5...);