首先查询sid与串口:
select object_name,machine,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;
然后根据查询到的sid与串口,执行解锁命令:
alter system kill session '1382,52208'; --sid:1382;serial:52208
表解锁成功