Oraclet提交提示Record is locked by another user错误

http://blog.csdn.net/alifel/article/details/4324338下午修改oracle datebase中的字段时,提示"Record is locked by another user",错误可想而知。

 

下面解除锁

 

1、查看锁

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;

2、Kill

--alter system kill session 'sid,serial#';
alter system kill session '151,14678';--查看表大小

 

运行以上命令后,就可以解决此问题

posted @ 2014-11-08 14:08  程序员斯文  阅读(278)  评论(0编辑  收藏  举报