The following lines contain the word 'select', 'insert', 'update' or 'delete':
procedure update_leg_process_status(errbuf out nocopy VARCHAR2,
retcode out nocopy NUMBER,
p_payroll_action_id in NUMBER,
p_new_status in VARCHAR2)
is
l_param_string VARCHAR2(2000);
select legislative_parameters
into l_param_string
from pay_payroll_actions
where payroll_action_id = p_payroll_action_id;
update pay_payroll_actions
set legislative_parameters =l_param_string || ' '||' Status='||p_new_status
where payroll_action_id = p_payroll_action_id; --8875;
update pay_payroll_actions
set legislative_parameters = l_param_string_before_val ||
' Status=' || p_new_status || l_param_string_after_val
where payroll_action_id = p_payroll_action_id; --8875;
end update_leg_process_status;