Oracle 数据库 Record is locked by another user 问题解决办法
2013-06-03 10:45
567 查看
在操作ORACLE数据库的时候,由于执行完,没有COMMIT,直接把PL/SQL关闭掉,后来导致那张表被锁住,当编辑时就会出现这个信息,record is locked by another user!
当出现这种情况的时候,只要操作下面几个步骤就可以解锁了。
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';
当出现这种情况的时候,只要操作下面几个步骤就可以解锁了。
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';
相关文章推荐
- Oracle 数据库 Record is locked by another user 问题解决办法
- Oracle 数据库 Record is locked by another user 问题解决办法
- Oracle 数据库 Record is locked by another user 问题解决办法
- Oracle 数据库 Record is locked by another user 问题解决办法
- Oracle 数据库 Record is locked by another user 问题解决办法
- 关于 oracle record is locked by another user 问题解决办法
- oracle 表记录被locked的解决办法,record is locked by another user
- Oracle修改数据时提示“record is locked by another user”的解决办法
- Oracle修改表中记录时出现record is locked by another user的问题
- Oracle修改表中记录时出现record is locked by another user的问题
- Oracle无法操作只能查询:record is locked by another user
- Oracle操作报错:record is locked by another user
- Record is locked by another user --Oracle行锁解锁
- ORACLE解锁 record is locked by another user
- ORACLE解锁record is locked by another user
- Record is locked by another user--Oracle行锁解锁(总结)
- oracle record is locked by another user
- ORACLE解锁record is locked by another user
- ORACLE解锁record is locked by another user
- oracle record is locked by another user