Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dba_sql_profile

user632098Jun 13 2008 — edited Jun 15 2008
dba_sql_profiles shows sql_text for the sql statement used to create the profile. I want to know the hash_value or sql_id for this sql statement. How do I find that?

I know in v$sql, there is a column sql_profile and from v$sql one can get sql_id, has-value. However, v$sql only shows sql’s which are currently in SGA’s. There should be some other way to get this information for all the sql statements.


Prem
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2008
Added on Jun 13 2008
5 comments
1,990 views