The following lines contain the word 'select', 'insert', 'update' or 'delete':
procedure insert_row(x_rule_name in varchar2,
x_msg_type in varchar2)
is
begin
insert into wf_ntf_rule_criteria (
rule_name,
message_type,
creation_date
) values (
x_rule_name,
x_msg_type,
sysdate);
wf_core.context('Wf_ntf_rulecriteria_pkg', 'Insert_Row', x_rule_name, x_msg_type);
end insert_row;
procedure delete_row(x_rule_name in varchar2,
x_msg_type in varchar2)
is
begin
delete from wf_ntf_rule_criteria
where rule_name = x_rule_name
and message_type = x_msg_type;
wf_core.context('Wf_ntf_rulecriteria_pkg', 'Delete_Row', x_rule_name, x_msg_type);
end delete_row;
procedure update_row(x_rule_name in varchar2,
x_msg_type in varchar2)
is
begin
update wf_ntf_rule_criteria
set message_type = x_msg_type
where rule_name = x_rule_name;
wf_core.context('Wf_ntf_rulecriteria_pkg', 'Update_Row', x_rule_name, x_msg_type);
end update_row;
wf_ntf_rulecriteria_pkg.update_row(x_rule_name,
x_msg_type);
wf_ntf_rulecriteria_pkg.insert_row(x_rule_name,
x_msg_type);