Get sql_profile of a sql_id
-- Script for getting sql_profile created for a sql_id
oracle configurationintermediate
by OracleDba
12 views
-- Script for getting sql_profile created for a sql_id
123456789
-- Script for getting sql_profile created for a sql_id
select distinct
p.name sql_profile_name,
s.sql_id
from
dba_sql_profiles p,
DBA_HIST_SQLSTAT s
where
p.name=s.sql_profile and s.sql_id='&sql_id';Please to add comments
No comments yet. Be the first to comment!