DBA Hub

📋Steps in this guide1/1

Get sql_profile of a sql_id

-- Script for getting sql_profile created for a sql_id

oracle configurationintermediate
by OracleDba
12 views
1

Get sql_profile of a sql_id

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
-- 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';

Comments (0)

Please to add comments

No comments yet. Be the first to comment!