csv导入:

load data local infile 'D:/pcode/shu/data/a.csv' into table a  fields terminated by ',';

csv导出:

select * from b order by trade_dt into outfile 'd://output1.csv' fields terminated by ','optionally enclosed by ''lines terminated by'\r\n';

 

标红为变量

posted on 2017-07-13 10:28  小白闯天下  阅读(248)  评论(0编辑  收藏  举报