码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2014-10-09 15:47:53      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:blog   http   sp   2014   log   line   bs   sql   mysql   

 

 

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;

      bubuko.com,布布扣

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

标签:blog   http   sp   2014   log   line   bs   sql   mysql   

原文地址:http://www.cnblogs.com/JiangLe/p/4012971.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!