select object_name as 对象名称,s.sid,s.serial#,p.spid as 系统进程号
from v$locked_object l , dba_objects o , v$session s , v$process p
where l.object_id=o.object_id and l.session_id=s.sid and s.paddr=p.addr;
alter system kill session 's.sid,s.serial#'
本文探讨了如何使用SQL查询语句从多个表中获取特定信息,并介绍了如何通过系统命令销毁特定会话。
select object_name as 对象名称,s.sid,s.serial#,p.spid as 系统进程号
from v$locked_object l , dba_objects o , v$session s , v$process p
where l.object_id=o.object_id and l.session_id=s.sid and s.paddr=p.addr;
alter system kill session 's.sid,s.serial#'
1040

被折叠的 条评论
为什么被折叠?