导出全数据库。
注: windows 下需要 @database,linux 下不需要 @database,这里的 database 指的是 orcl 。
exp ncc_auto_0520/1@orcl file=F:\oracle\ncc_auto_0520.dmp full=y导出 ncc_auto_0520 这个 schema 表。
exp ncc_auto_0520/1@orcl file=F:\oracle\ncc_auto_0520.dmp owner=(ncc_auto_0520,1)导出功能演示。

导出成功标志。

查看导出的文件。

数据库导入命令:
注: 如果目标数据库已存在表要直接替换可以加上这个参数 ignore=y。
fromuser 指定原 schema 表,touser 指定目标 schema 表。
C:\Users\Administrator>imp ncc_qt/1@orcl file=f:\ncc0303.dmp fromuser=ncc_auto_0513 touser=ncc_auto_0603数据库导入命令演示:

导入成功标志。

喜欢的点个赞❤吧!










