Files
oracle/csierra/cs_internal/cs_spch_internal_plan.sql

8 lines
331 B
MySQL
Raw Normal View History

2026-03-12 21:23:47 +01:00
PRO
PRO SQL PATCH - DISPLAY (dbms_xplan.display_sql_patch_plan)
PRO ~~~~~~~~~~~~~~~~~~~
-- only works from PDB.
SET HEA OFF PAGES 0;
SELECT * FROM TABLE(DBMS_XPLAN.display_sql_patch_plan((SELECT name FROM dba_sql_patches WHERE signature = :cs_signature AND category = 'DEFAULT' AND ROWNUM = 1), 'ADVANCED'));
SET HEA ON PAGES 100;