ORACLE锁表解表语句

查询锁表语句:

select object_name, machine, s.sid, s.serial# from gv$locked_object l, dba_objects o, gv$session s where l.object_id = o.object_id and l.session_id = s.sid;

解锁语句:

alter system kill session 'sid,serial#';

posted @ 2017-12-25 18:40  昨夜的风  阅读(4540)  评论(0编辑  收藏  举报