Dropping a connected user from an Oracle 10g database schema

后端 未结 7 1627
情话喂你
情话喂你 2020-12-22 18:51

Is there a better way to forcefully disconnect all users from an Oracle 10g database schema than restarting the Oracle database services?

We have several developers

7条回答
  •  暖寄归人
    2020-12-22 19:13

    Have you tried ALTER SYSTEM KILL SESSION? Get the SID and SERIAL# from V$SESSION for each session in the given schema, then do

    ALTER SCHEMA KILL SESSION sid,serial#;

提交回复
热议问题