标签:add username info rev 查询 执行 ram sql rmi
select * from v$sql
select row_number() over (order by a.username, a.client_info, a.terminal) as id
, a.username, a.sid, a.serial# as serial_id, a.client_info, a.osuser, a.machine
, a.terminal, a.program, b.SQL_TEXT, logon_time, prev_exec_start
from v$session a, v$sql b
where a.username not in(‘DBSNMP‘,‘SYSMAN‘)
and a.sql_address = b.address(+)
order by a.username, a.client_info, a.terminal
标签:add username info rev 查询 执行 ram sql rmi
原文地址:https://www.cnblogs.com/codeRookie/p/14022782.html