Wednesday, July 8, 2015
Find Query Versions
SQL to find Query Versions based on a particular SQL_ID
=> you can remove the columns selected based upon your need.
Select inst_id, sql_id,address, hash_value, sql_text, version_count,loaded_versions,
executions,loads,invalidations
from gv$sqlarea
where version_count >= 1
and sql_id ='&Input_SQL_ID'
order by inst_id,version_count
/
Subscribe to:
Posts (Atom)