執行下機的sql
select 'alter system kill session '''||sid||','||serial#||''';' from v$session;
把結果復制、粘貼再執行就可以斷開所有連接了
註意:有些系統可能設置了自動重新連接