毛豆先森

导航

查询系统正在运行的SQL语句

 

查询系统正在运行的SQL语句:

 

select a.program, b.spid, c.sql_text
from v$session a, v$process b, v$sqlarea c
where a.paddr = b.addr
and a.sql_hash_value = c.hash_value
and a.username is not null;

posted on 2017-02-13 11:53  毛豆先森  阅读(172)  评论(0编辑  收藏  举报