V$SQL view has the following column and statistics data.
select sql_txt from v$sql
select s.username, s.sid, s.serial#,t.sql_text “Last SQL”
from gv$session s, gv$sqlarea t
where s.sql_address =t.address and
s.sql_hash_value =t.hash_value
PN Blogs | Poulose Nediapala | BI Developer | Apps | DBA
V$SQL view has the following column and statistics data.
select sql_txt from v$sql
select s.username, s.sid, s.serial#,t.sql_text “Last SQL”
from gv$session s, gv$sqlarea t
where s.sql_address =t.address and
s.sql_hash_value =t.hash_value