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;

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

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

上一篇:Create My MySQL configuration by Percona


下一篇:提高SQL语句的性能