您的位置:首页 > 运维架构

ORA-01940: cannot drop a user that is currently connected

2013-10-28 10:46 441 查看
删除用户的时候,出现ora-01940错误

SQL> drop user xx;

drop user xx

*

ERROR at line 1:

ORA-01940: cannot drop a user that is currently connected

SQL> select sid,serial# from v$session

  2  where username='XX';

       SID    SERIAL#

---------- ----------

       136         33

SQL> alter system kill session '136,33';
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  database