2026-03-12 20:23:15
This commit is contained in:
13
vdh/dynamic_plan_query.sql
Normal file
13
vdh/dynamic_plan_query.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
select plan_table_output
|
||||
from table( dbms_xplan.display
|
||||
( 'dynamic_plan_table',
|
||||
( select rawtohex(address) || '_' || child_number
|
||||
from v$sql_plan, v$session
|
||||
where address = sql_address
|
||||
and hash_value = sql_hash_value
|
||||
and sid = 8
|
||||
and serial# = 822
|
||||
and rownum = 1
|
||||
), 'serial'
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user