SQL> drop user test cascade;
drop user test cascade
*
ERROR at line 1:
ORA-01940: cannot drop a user that is currently connected

 

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

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

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

System altered.

相关文章:

  • 2021-12-25
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-01-18
  • 2021-12-17
猜你喜欢
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2022-12-23
相关资源
相似解决方案