Q:把一個lianxi表中的addr和email字段通過select into outfile命令形式輸出到test.txt文件中 我想在test.txt文件的內(nèi)容顯示如下: addr1,adb@126.com; addd2,test@sina.com;
A:答案為: select addr,email from lianxi to file test.txt -
或者 select addr,email from lianxi to file test 就可以了,你可以試試 完全格式為: select 字段名 from 表名 where 條件 to file 文件名(.txt/.doc等等) order by 字段名
服務(wù)器租用/服務(wù)器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM]
0371-601359007*24小時客服服務(wù)熱線