timjames
#备份:
exp userid=Tiger/Tiger@orcl file=c:\BackupDB.dmp
exp userid=Tiger/Tiger@127.0.0.1:1521/orcl file=c:\BackupDB.dmp
#恢复:
imp userid=Tiger/Tiger@setupdb ignore=y full=y file=c:\BackupDB.dmp
 
#连接数据库安装用户
cmd → sqlplus → conn /as sysdba → 密码为空
 
#解锁用户
alter user scott account lock
alter user scott account unlock
alter user scott identified by tiger
 
#以dba身份登录
conn sys/sys as sysdba
 
#删除用户
drop user xxx cascade
 
#删除表空间
drop tablespace tablespace_name including contents and datafiles

 

分类:

技术点:

相关文章:

  • 2021-11-04
  • 2021-09-28
  • 2021-11-04
  • 2021-11-04
  • 2021-10-09
  • 2021-09-29
  • 2021-11-19
  • 2021-09-29
猜你喜欢
  • 2021-10-09
  • 2021-10-22
  • 2021-09-30
  • 2021-10-09
  • 2021-09-28
  • 2021-09-30
  • 2021-12-18
相关资源
相似解决方案