删除锁表进程
查询
select object_name as 对象名称,s.sid,s.serial#,p.spid as 系统进程号,s.machine
from v$locked_object l , dba_objects o , v$session s , v$process p
where l.object_id=o.object_id and l.session_id=s.sid and s.paddr=p.addr and object_name='表名大写'
删除:
alter system kill session 'sid,serial#’;