当前位置:数据库 > Oracle >>

oracle导出数据库

oracle 数据库的导出问题,我要导出此数据库的所有表结构,不要数据。 注意:是只有数据不要,原来的存储过程、监听等等,都还要 应该怎么导出呢,我写过rows=n,但是那样,存储过程也没有了 我只是不要数据,其他的都要 在线等高手解决啊
补充:没有人知道吗?
追问:PowerDesigner  怎么用啊?没用过
是写在exp 里吗?
能不能给写个导出的sql
数据库连接名:scdd
用户名:hrny
密码:hrny
答案:PowerDesigner  可实现
其他:expdp scott/tiger directory=exp content=metadata_only dumpfile=scott.dmp logfile=scott.log

Starting "SCOTT"."SYS_EXPORT_SCHEMA_01":  scott/******** directory=exp content=metadata_only dumpfile=scott.dmp logfile=scott.log 
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/TABLE/PROCACT_INSTANCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCOBJ
Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
Master table "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SCOTT.SYS_EXPORT_SCHEMA_01 is:
  /oracle/scott.dmp
Job "SCOTT"."SYS_EXPORT_SCHEMA_01" successfully completed at 13:12:06 

上一个:win2008r2 安装oracle 10G 85%的时候报错“ Enterprise Manager 配置失败”
下一个:oracle update 执行后判断其是否成功 根据execute返回的值可以吗?

Oracle
MySQL
Access
SQLServer
DB2
Excel
SQLite
SYBASE
Postgres
如果你遇到数据库难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,