Oracle删除锁表进程
Oracle删除锁表进程
查询
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='表名大写'
p.addr and object_name='表名大写'
www.zzzyk.com
删除:
alter system kill session 'sid,serial#’;