oracle kill所有plsql developer进程
时间:2021-07-01 10:21:17
帮助过:3人阅读
BEGIN
FOR v IN (
SELECT ‘alter system kill session ‘‘‘ || a.sid || ‘,‘ || a.serial# || ‘‘‘ immediate‘ AS v_sql
FROM v$session a
WHERE a.program in (‘plsqldev.exe‘) ) LOOP
begin
EXECUTE IMMEDIATE v.v_sql;
exception
when others then
commit;
end;
END LOOP;
END;
/
oracle kill所有plsql developer进程
标签:session except lte ogr exec oracle eve for develop