sql语句导出数据到txt文件或其他文件

 select page.id,page.depth,auto_checkitem.rule_id,auto_checkitem.result from auto_checkitem,page where auto_checkitem.page_id=page.id and auto_checkitem.host_id=76  into  outfile '/ygb.txt' lines terminated by '\r\n' ;
posted @ 2014-12-15 13:28  小魔王  阅读(2473)  评论(0编辑  收藏  举报