📜  MySQL 从大型 CSV 文件导入数据 - SQL 代码示例

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

代码示例1
LOAD DATA INFILE 'data.csv' INTO TABLE tbl_name 
FIELDS TERMINATED BY ',' 
ENCLOSED BY '"' 
LINES TERMINATED BY '\r\n' 
IGNORE 1 LINES;