2026-03-12 20:23:15
This commit is contained in:
18
mhouri/nonsharedMho.sql
Normal file
18
mhouri/nonsharedMho.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
select
|
||||
sh.sql_id,
|
||||
xt.c1,
|
||||
xt.r1 raison,
|
||||
xt.d1
|
||||
from
|
||||
gv$sql_shared_cursor sh
|
||||
inner join xmltable (
|
||||
'/ChildNode'
|
||||
passing xmlparse(content sh.reason)
|
||||
columns
|
||||
c1 number path 'ChildNumber',
|
||||
r1 varchar2(40) path 'reason',
|
||||
d1 varchar2(40) path 'details'
|
||||
)
|
||||
xt on ( 1 = 1 )
|
||||
where
|
||||
sh.sql_id = '&sql_id';
|
||||
Reference in New Issue
Block a user