查看某个存储过程或函数被哪些程序调用

select distinct 'alter system kill session '''||t.sid||','||t.serial#||'''immediate;' from v$session t,dba_ddl_locks l where l.name like upper('%f_sz_uniontask1%') and t.SID = l.session_id;

posted @ 2020-04-03 19:21  liuminchao  阅读(1112)  评论(0编辑  收藏  举报