--To Check for SQL_ID Execution Plan in the DB-- set lines 201 trimout on trimspool on pages 0 col PLAN_TABLE_OUTPUT format A200 set serveroutput off alter session set statistics_lev el = all; select plan_table_output from table(dbms_xplan.display_cursor('&sql_id',null,'advanced')) ; --To Check for Existing SQL Profiles in the DB-- select name,category,status from dba_sql_profiles where name like '%&SQL_ID%' ; -- Tuning task created for specific a statement from the cursor cache-- DECLARE l_sql_tune_task_id VARCHAR2(100); BEGIN l_sql_tune_task_id := DBMS_SQLTUNE.create_tuning_task ( sql_id => '&sql_id', scope ...