The following lines contain the word 'select', 'insert', 'update' or 'delete':
JTF_DIAGNOSTIC_COREAPI.insert_style_sheet;
SELECT COUNT(1) INTO h_fii_cnt FROM FII_TIME_DAY;
SELECT COUNT(1) INTO h_count FROM all_indexes
WHERE index_name = 'BSC_DB_CALENDAR_U1'
AND OWNER = l_oracle_schema;
sqltxt := 'SELECT start_month||''/''||start_day||''/''||current_year "START_DATE",edw_calendar_id FROM'||
' bsc_sys_calendars_b WHERE edw_calendar_type_id=1 AND edw_calendar_id IN (1001,1002,1003)';
DELETE bsc_sys_periods_tl WHERE periodicity_id NOT IN
(SELECT periodicity_id FROM bsc_sys_periodicities);
DELETE bsc_sys_periods WHERE periodicity_id NOT IN
(SELECT periodicity_id FROM bsc_sys_periodicities);
DELETE bsc_sys_periodicities WHERE calendar_id NOT IN
(SELECT calendar_id FROM bsc_sys_calendars_b);
SELECT COUNT(1) INTO h_count from bsc_sys_periods_tl WHERE periodicity_id NOT IN
(SELECT periodicity_id FROM bsc_sys_periodicities);
SELECT COUNT(1) INTO h_count from bsc_sys_periods WHERE periodicity_id NOT IN
(SELECT periodicity_id FROM bsc_sys_periodicities);
SELECT COUNT(1) INTO h_count from bsc_sys_periodicities WHERE calendar_id NOT IN
(SELECT calendar_id FROM bsc_sys_calendars_b);