首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

oracle剔除表中记录时出现record is locked by another user

2012-09-27 
oracle删除表中记录时出现record is locked by another user在删除表中的一条记录时,出现了这个错误:recor

oracle删除表中记录时出现record is locked by another user
在删除表中的一条记录时,出现了这个错误:record is locked by another user
是同事在操作这个表时没有commit,导致这个表被锁,只要执行下面两行语句,就可以了。
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;

2.alter system kill session '126,921';

热点排行