plsql prompt record is locked by another user

**

1. Development environment

plsql
oracle

Two, error

Prompt record locked by another user

3. Solutions

insert image description here
1. Find out the sid, serial# of the database, so that it can be killed later:

select t2.username,t2.sid,t2.serial#,t2.logon_time from v l o c k e d o b j e c t t 1 , v locked_object t1,v lockedobjectt1,vsession t2 where t1.session_id=t2.sid order by t2.logon_time;

2. Finally kill the session:
alter system kill session '11278,123'

Supongo que te gusta

Origin blog.csdn.net/sunxiaohong__/article/details/127669469
Recomendado
Clasificación