The following lines contain the word 'select', 'insert', 'update' or 'delete':
select 1 into dummy
from rg_report_axis_contents
where axis_set_id = X_axis_set_id
and axis_seq = X_axis_seq
and rownum < 2;
select 1 into dummy
from rg_report_axis_contents
where axis_set_id = X_axis_set_id
and rownum < 2;
PROCEDURE delete_rows(X_axis_set_id NUMBER,
X_axis_seq NUMBER) IS
BEGIN
IF (X_axis_seq = -1) THEN
delete from rg_report_axis_contents
where axis_set_id = X_axis_set_id;
delete from rg_report_axis_contents
where axis_set_id = X_axis_set_id
and axis_seq = X_axis_seq;
END delete_rows;