您的位置:首页 > 数据库 > Oracle

ORACLE 下如何 查看用户session 及 kill

2012-06-19 11:48 323 查看
SQL> drop user sysman cascade;
drop user sysman cascade
*
ERROR at line 1:
ORA-01940: cannot drop a user that is currently connected

SQL> select sid,serial# from v$session where username='SYSMAN';

SID SERIAL#
---------- ----------
2558 522
2564 29
2576 1023

SQL> alter system kill session '2558,522';

System altered.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: