oracle数据库exp和imp的使用

2022/6/25 2:19:24

本文主要是介绍oracle数据库exp和imp的使用,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

exp可以实现远程的导出和导入

-- 按用户远程导出
exp san/passward@10.24.135.26/orcl file=san_20220525.dmp log=exp_san.log ower=san;
-- 按表远程导出
exp san/passward@10.24.135.26/orcl file=san_20220525.dmp log=exp_san.log tables=channel_user,user_info,user_id_card_info,electronic_bank_card,electronic_bind_card,user_bind_card;

-- 按表导入到本地数据库
imp san/passward@localhost/orcl fromuser=san touser=san file=san_20220525.dmp log=imp_san.log ables=channel_user,user_info,user_id_card_info,electronic_bank_card,electronic_bind_card,user_bind_card;

 

参考博客:

https://blog.csdn.net/zmj1049933053/article/details/106528594

https://www.cnblogs.com/bugzeroman/p/12858112.html



这篇关于oracle数据库exp和imp的使用的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程