MYSQL select ....outfile.....from.....

 

 

select .... outfile  'file_path' fields terminate by '\t' lines terminate by '\r\n' from table_name;

---------------------------------------------------------------------------------------------------------------------------------------------------

例子:

      select * into outfile 'E:/3.txt' fields terminated by '\t'  lines terminated by '\r\n' from employee;

      

posted on 2014-10-09 11:45  蒋乐兴的技术随笔  阅读(367)  评论(0编辑  收藏  举报

导航