问题现象:

查看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;

04-25 09:52