oracle 杀掉会话

xiaoxiao2024-10-27  17

1.connect system/manager as sysdba; 2.col username for a20; 3.select sid,serial#,username,program,type from v$session;例如结果如下: SID SERIAL# USERNAME PROGRAM TYPE ---- ---------- -------------------- -------------------- ------------ 147 17 CRM2_TEST plsqldev.exe USER 151 13 SYS sqlplus.exe USER 154 1 ORACLE.EXE (QMNC) BACKGROUND 158 4 ORACLE.EXE (q001) BACKGROUND 159 3 ORACLE.EXE (q000) BACKGROUND 4.alter system kill session '151,13';
转载请注明原文地址: https://www.6miu.com/read-5018663.html

最新回复(0)