The following lines contain the word 'select', 'insert', 'update' or 'delete':
select RG_REPORT_EXCEPTION_FLAGS_s.nextval
into next_group_id
from dual;
PROCEDURE delete_rows(X_axis_set_id NUMBER,
X_axis_seq NUMBER) IS
BEGIN
IF (X_axis_seq = -1) THEN
delete from rg_report_exceptions
where axis_set_id = X_axis_set_id;
delete from rg_report_exception_flags
where axis_set_id = X_axis_set_id;
delete from rg_report_exceptions
where axis_set_id = X_axis_set_id
and axis_seq = X_axis_seq;
delete from rg_report_exception_flags
where axis_set_id = X_axis_set_id
and axis_seq = X_axis_seq;
END delete_rows;