我想要批量的杀掉
select sid,serial# from v$session where username ='ymb' and status='INACTIVE'
查询出来的进程,请问我应该怎么做?
如果要做一个存储过程的话,我应该怎么写呢?
如果使用alter system kill session 'sid,serial#' 我怎么样才可以循环调用呢
select sid,serial# from v$session where username ='ymb' and status='INACTIVE'
查询出来的进程,请问我应该怎么做?
如果要做一个存储过程的话,我应该怎么写呢?
如果使用alter system kill session 'sid,serial#' 我怎么样才可以循环调用呢
from v$session where username ='ymb' and status='INACTIVE'结果在执行1遍