标签:
-- 1. 锁定用户 alter user TEST account lock; -- 2. 查看用户的sid和serial select username,sid,serial# from v$session where username=‘TEST ‘; -- 3. 删除用户进程 alter system kill session ‘447,12657‘; -- 4. 删除用户 drop user TEST cascade; -- 5. 查看用户session的状态 select saddr,sid,serial#,paddr,username,status from v$session where username is not null and username=‘TEST ‘;
标签:
原文地址:http://www.cnblogs.com/liguoqing/p/4186527.html