Oracle:仅导出架构 [英] Oracle: exporting only schema

查看:165
本文介绍了Oracle:仅导出架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Oracle 10g数据库,现在我需要导出,如果可能,只有模式。

(只有索引等...没有数据的表结构!)



这是否可能与exp / imp或需要expdp / impdp?



greets

解决方案

可以使用 exp ,使用参数 ROWS = N



10g文档是 here



数据泵这些天是首选的;等效参数为 CONTENT = METADATA_ONLY


I have an Oracle 10g database, and now I need to export, if possible, only the schema.
(Only table structures with index etc... without data!)

Is this possible with exp/imp or do I need expdp/impdp?

Greets

解决方案

It is possible with exp, using parameter ROWS=N.

10g documentation is here.

Data pump is preferred these days though; the equivalent parameter is CONTENT=METADATA_ONLY.

这篇关于Oracle:仅导出架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆