2026-03-12 20:23:15
This commit is contained in:
28
vdh/show_outline_hints.sql
Normal file
28
vdh/show_outline_hints.sql
Normal file
@@ -0,0 +1,28 @@
|
||||
select
|
||||
hint as outline_hints
|
||||
from
|
||||
( select
|
||||
p.name,
|
||||
p.signature,
|
||||
p.category,
|
||||
row_number() over
|
||||
( partition by
|
||||
sd.signature,
|
||||
sd.category
|
||||
order by
|
||||
sd.signature
|
||||
) row_num,
|
||||
extractValue(value(t), '/hint') hint
|
||||
from
|
||||
sys.sqlobj$data sd,
|
||||
dba_sql_profiles p,
|
||||
table(xmlsequence(extract(xmltype(sd.comp_data), '/outline_data/hint'))) t
|
||||
where
|
||||
sd.obj_type = 1
|
||||
and p.signature = sd.signature
|
||||
and p.category = sd.category
|
||||
and p.name like ('%&profile_name%)
|
||||
)
|
||||
order by
|
||||
row_num
|
||||
;
|
||||
Reference in New Issue
Block a user