Dropping connected users in Oracle database

后端 未结 12 1764
执念已碎
执念已碎 2020-12-12 21:49

I want to drop some users in Oracle DB using sqlplus but I am getting error:

SQL> DROP USER test CASCADE;
DROP USER test CASCADE
*
ERROR at line 1:
ORA-01         


        
12条回答
  •  北海茫月
    2020-12-12 22:47

    Do a query:

    SELECT * FROM v$session s;

    Find your user and do the next query (with appropriate parameters):

    ALTER SYSTEM KILL SESSION ', ';

提交回复
热议问题