mysql> select clm
-> from Table
-> where
-> limit 0,1000
-> into outfile '/tmp/xxx.csv' fields terminated by ',' optionally enclosed by '"' escaped by '"' lines terminated by '\r\n';
mysql SQL文导出CSV
最新推荐文章于 2025-04-23 10:12:40 发布
mysql> select clm
-> from Table
-> where
-> limit 0,1000
-> into outfile '/tmp/xxx.csv' fields terminated by ',' optionally enclosed by '"' escaped by '"' lines terminated by '\r\n';