The following lines contain the word 'select', 'insert', 'update' or 'delete':
select null
from sys.dual
where exists (select null
from per_analysis_criteria pac,
fnd_id_flex_structures fif
where pac.id_flex_num = fif.id_flex_num
and fif.id_flex_structure_code = 'OSHA-REPORTABLE_INCIDENT'
and pac.segment1 = v_case_number);
select max(pac.segment1)+v_case_number
from per_analysis_criteria pac,
fnd_id_flex_structures fif
where pac.id_flex_num = fif.id_flex_num
and fif.id_flex_structure_code = 'OSHA-REPORTABLE_INCIDENT';
select per_osha_case_number_s.nextval
into v_case_number
from sys.dual;