Oracle kill session script as below
singal instance:
select 'alter system kill session '''|| sid||','||serial# ||''';' from v$session where username='SCOTT';
rac instance:
select 'alter system kill session '''||sid||','||serial#||',@'||inst_id||''' immediate;' from gv$session where username='SCOTT';
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24237320/viewspace-1781697/
,如需转载,请注明出处,否则将追究法律责任。