oracle ORA-31655

出现ora-31655错误的情况

原因:是因为不是同一个schema,导致的问题产生

 

解决方案:

在导入语句最后添加上remap_schema=old:new

着old是原schema,也就是导出的用户名,new是想要导入的用户名


如:这里有一个expdp导出的dmp文件用户是test_old,想要到入到其他的数据库中的test_new

impdp test_new/test_new dumpfile=test_old.dmp directory=test_dir remap_schema=test_old:test_new

posted @ 2020-05-20 19:04  浅雨凉  阅读(2704)  评论(0编辑  收藏  举报