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

oracle删除表空间、删除已连接的用户

oracle删除表空间、删除已连接的用户
 
删除表空间:
 
drop tablespace ECPTABLESPACEIDX including contents and datafiles;
 
删除已连接的用户
 
alter user ecp account lock;
 
select username,sid,serial# from v$session where username like '%ECP%';
 
//alter system disconnect session '30,5427' immediate;
 
alter system kill session'28,21617';
 
drop user ecp cascade;
 
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,