在 Oracle 中查看正在运行中语句
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 and a.username is not null;
在 Oracle 中查看正在运行中语句
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 and a.username is not null;