当前位置: 移动技术网 > IT编程>数据库>Oracle > oracle数据库备份,删除,恢复

oracle数据库备份,删除,恢复

2018年10月25日  | 移动技术网IT编程  | 我要评论

歌唱二小放牛郎课件,女超人第三季,极品男妓

1、首先备份test用户的所有表和视图等

exp test/123456@192.168.108.70/orcl file=etms20170818_70.dmp log=0818_70.log

2、删除test用户的所有表和视图等

sql>drop user test cascade;

3、重新创建test用户,并指定默认表空间

create user test identified by 123456 defaulttablespace tets quota unlimited on test

4、赋予相应的权限

grant dba to test;

5、导入刚才备份的dmp

imp test/123456@192.168.108.70/orcl file=etms20170818_70.dmp ignore=y full=y log=0818_imp.log

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网