DEV Community

Fatih Şahin
Fatih Şahin

Posted on

Oracle KILL SESSION

select
   c.owner,
   c.object_name,
   c.object_type,
   b.sid,
   b.serial#,
   b.status,
   b.osuser,
   b.machine
from
   v$locked_object a,
   v$session b,
   dba_objects c
where
   b.sid = a.session_id
and
   a.object_id = c.object_id;

ALTER SYSTEM KILL SESSION '1141,2197';
Enter fullscreen mode Exit fullscreen mode

Top comments (0)