[z]查找锁表并解锁

select sess.sid,
sess.serial#,
lo.oracle_username,
lo.os_user_name,
ao.object_name,
lo.locked_mode
from v$locked_object lo,
dba_objects ao,
v$session sess
where ao.object_id = lo.object_id and lo.session_id = sess.sid

alter system kill session '1042,6820';
alter system kill session '2863,9575';
alter system kill session '1025,3415';

上一篇:vue js 用nodejs的依赖包 --2016-08-23


下一篇:Javascript流程控制