Mysql 读写文件
-- 把查询数据导出到文件
select * into outfile 'd:\sql.txt' from phone;
-- 读取文件,并把数据插入到表中
load data infile 'd:\sql.txt' into table phone;
-- 把查询数据导出到文件
select * into outfile 'd:\sql.txt' from phone;
-- 读取文件,并把数据插入到表中
load data infile 'd:\sql.txt' into table phone;