Oracle 解锁Record is locked by another use
--查看锁
select t2.username,t2.sid,t2.serial#,t2.logon_time
from v$locked_object t1,v$session t2
where t1.session_id=t2.sid order by t2.logon_time;
--alter system kill session 'sid,serial#';
--把锁给KILL掉
alter system kill session '151,14678';
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12778571/viewspace-429377/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/12778571/viewspace-429377/