https://blog.csdn.net/lsh15846393847/article/details/79562816
SELECT
sid,
serial#,
machine,
program
FROM
v$session
WHERE
sid IN ( SELECT o.SESSION_ID FROM v$locked_object o, ALL_OBJECTS a WHERE a.OBJECT_ID = o.object_id AND a.object_name = '表名' )
alter system kill session '26,16673'; -- sid serial#
网友评论