赞
踩
select * from v$access o where o.OBJECT like 'XXWPF007%' --查找正在运行的对象,获取sid
select a.serial# from v$session a WHERE A.SID=sid --通过sid 获取serial#
alter system kill session 'sid,serial#' --eg: alter system kill session '123,3211'
Select c.spid from v$process c where c.addr=(select b.paddr from v$session b where b.sid= '' and b.serial#= '') --根据sid,serial 查询spid
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。