欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

mysql快速导入导出数据

程序员文章站 2023-11-03 18:45:52
--导入 select * from inhos_genoperation(表名) where UPLOAD_ORG_CODE='***' into outfile '/tmp/inhos_genoperation.sql'; --导出load data infile '/tmp/inhos_gen ......

--导入

select * from inhos_genoperation(表名) where upload_org_code='***' into outfile '/tmp/inhos_genoperation.sql';

--导出
load data infile '/tmp/inhos_genoperation.sql' into table qingtongxiayiyuan.inhos_genoperation;

 

该语句不含表结构,速度超快