某个表数据太大,正常导不出来可以试试下面的方法:
SELECT * INTO OUTFILE '/路径/数据文件.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM 表 where LOWER(field) = 'xx';
某个表数据太大,正常导不出来可以试试下面的方法:
SELECT * INTO OUTFILE '/路径/数据文件.csv' FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM 表 where LOWER(field) = 'xx';
MMN6
格局
COPYRIGHT © 2005 - 2024 小小博客. ALL RIGHTS RESERVED.
文章评论