问题描述
只能使用dbms_datapump导出和导入数据吗?我不想在导出上指定模式,也不想将其默认为用户的模式。我不想在导入时指定 “从” 模式。这可能吗?
专家解答
是的,您可以只导出/导入数据。为此,将INCLUDE_METADATA参数设置为零:
I do not want to specify a schema on the export nor do I want it to default to the user's schema. I do not want to specify a "from" schema on the import.
我不知道你在问什么。您可以使用remp_schema选项来更改它导入的架构:
如果这不是你要找的,请澄清你想做什么。
dbms_datapump.set_parameter(handle => handle, name => 'INCLUDE_METADATA', value => 0);
I do not want to specify a schema on the export nor do I want it to default to the user's schema. I do not want to specify a "from" schema on the import.
我不知道你在问什么。您可以使用remp_schema选项来更改它导入的架构:
dbms_datapump.metadata_remap(handle => handle, name => 'REMAP_SCHEMA', old_value => 'SOURCE_SCHEMA', value => 'TARGET_SCHEMA' );
如果这不是你要找的,请澄清你想做什么。
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




