现在的位置: 首页 > 综合 > 正文

MySQL 导入Excel

2017年12月11日 ⁄ 综合 ⁄ 共 161字 ⁄ 字号 评论关闭

1. excel 另存为csv以制表符文件。

2. 在mysql创建表。

3. 导入CSV文件。

load data local infile 'E:/proj/server/www/server/test/score.txt' into table test character set
'gb2312' fields terminated by '\t';

抱歉!评论已关闭.