MySql直接命令行执行select和load导入导出数据

导出:

select * into outfile 'd:/ad.txt' from a limit 100;

 

 

 

导入:

load data local infile 'd:/ad.txt' into table a lines terminated by '\n';

posted @ 2014-07-22 17:20  joshua317  阅读(382)  评论(0编辑  收藏  举报