1. 程式人生 > >[MySQL]匯出CSV去掉欄位兩邊雙引號

[MySQL]匯出CSV去掉欄位兩邊雙引號

select * table_name into outfile '/tmp/table_name.csv'  fields terminated by '\t' OPTIONALLY enclosed by '\0' lines terminated by '\n'