执行查询语句
SELECT s.sid,s.serial# FROM v$locked_object lo,dba_objects ao,v$session s WHERE ao.object_id = lo.object_id AND lo.session_id = s.sid
查出的两个字段替换SID 和serial#即可
alter system kill session ''SID,serial#'';
执行查询语句
SELECT s.sid,s.serial# FROM v$locked_object lo,dba_objects ao,v$session s WHERE ao.object_id = lo.object_id AND lo.session_id = s.sid
查出的两个字段替换SID 和serial#即可
alter system kill session ''SID,serial#'';