MYSQL LOAD DATA INFILE 從文本文件中的數據導入到數據庫中

LOAD DATA INFILE '/Users/blank/mysql.txt' REPLACE INTO TABLE user CHARACTER SET UTF8 FIELDS TERMINATED BY '|' LINES TERMINATED BY '\n' IGNORE 1 LINES (id, name, age, remark, sex) ; REPLACE 保證不會插入重複數據其
相關文章
相關標籤/搜索