Oracle-查看oracle是否有表被锁

 

问题现象:

查看oracle是否有表被锁

 

解决方法:

select sid,serial#,program,terminal,username,b.object_id,c.object_name
  from v$session a, v$locked_object b, dba_objects c
 where a.sid = b.session_id
   and b.object_id = c.object_id;

posted on 2015-07-13 16:04  疯狂delphi  阅读(400)  评论(0编辑  收藏  举报

导航