//查询锁表id
select session_id from v$locked_object;
//查询该ID的serial#
SELECT sid, serial#, username, osuser FROM v$session where sid = 152;
//杀死该进程
alter system kill session ‘12,748‘
时间: 2024-11-04 19:40:50
//查询锁表id
select session_id from v$locked_object;
//查询该ID的serial#
SELECT sid, serial#, username, osuser FROM v$session where sid = 152;
//杀死该进程
alter system kill session ‘12,748‘