#导入数据
create table 表1 like 表2;
ALTER TABLE 16_nian CONVERT TO CHARACTER SET gbk COLLATE gbk_chinese_ci;
load data infile 'C:/ProgramData/MySQL/MySQL Server 5.7/Uploads/WORKs.csv' into table 16_nian
character set gbk
fields terminated by ','
optionally enclosed by '"'
escaped by '"'
lines terminated by '\r\n'
ignore 1 lines;
create table 表1 like 表2;
ALTER TABLE 16_nian CONVERT TO CHARACTER SET gbk COLLATE gbk_chinese_ci;
load data infile 'C:/ProgramData/MySQL/MySQL Server 5.7/Uploads/WORKs.csv' into table 16_nian
character set gbk
fields terminated by ','
optionally enclosed by '"'
escaped by '"'
lines terminated by '\r\n'
ignore 1 lines;