Oracle锁表检查语句
[日期:2012-01-31] 来源:Linux社区 作者:madding
Oracle锁表检查语句:
select p.spid,c.object_name,b.session_id,b.oracle_username,b.os_user_name
from v$process p,v$session a, v$locked_object b,all_objects c
where p.addr=a.paddr and a.process=b.process and c.object_id=b.object_id
阅读(1076) | 评论(0) | 转发(0) |