工作之:数据库锁表问题

select object_name, machine, s.sid, s.serial#
  from v$locked_object l, dba_objects o, v$session s
 where l.object_id   =   o.object_id
   and l.session_id = s.sid;
 
 
 
alter system kill session 'sid,serial#';

posted on 2014-10-21 16:50  huanxuediguo  阅读(124)  评论(0编辑  收藏  举报

导航