select
object_name,
oracle_username,
s.sid,
s.serial#
from
v$locked_object l,
dba_objects o,
v$session s
where
l.object_id = o.object_id
and
l.session_id = s.sid;
alter system kill session ‘96,36261‘ immediate;
2022-09-13 17:20:07
select
object_name,
oracle_username,
s.sid,
s.serial#
from
v$locked_object l,
dba_objects o,
v$session s
where
l.object_id = o.object_id
and
l.session_id = s.sid;
alter system kill session ‘96,36261‘ immediate;
下一篇:SQL 分组产生序号