以system用户登录,查找需要删除的用户:

--查找用户

select  * from dba_users;

--查找工作空间的路径
select * from dba_data_files; 

 

--删除用户
drop user 用户名称 cascade;
--删除表空间与数据文件
drop tablespace 表空间名称 including contents and datafiles cascade constraint;

 

如:删除用户名成为test,表空间名称为test

--删除用户,及级联关系也删除掉
drop user test cascade;
--删除表空间,及对应的表空间文件也删除掉
drop tablespace test including contents and datafiles cascade constraint;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2021-06-01
  • 2021-12-10
  • 2022-01-24
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2021-11-28
  • 2021-08-12
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案