//查询锁表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'
//查询锁表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'