The following lines contain the word 'select', 'insert', 'update' or 'delete':
procedure insert_row
(p_business_group_id in number,
p_effective_date in date,
p_new_organization_id in number,
p_source_organization_id in number,
p_reason in varchar2,
p_status in varchar2,
p_mass_move_id out number,
p_row_id out varchar2)
is
l_mass_move_id number(15);
select per_mass_moves_s.nextval
from sys.dual;
select rowid
from per_mass_moves
where mass_move_id = l_mass_move_id;
hr_utility.set_message_token('PROCEDURE','per_mass_moves_pkg.insert_rows');
insert into per_mass_moves
(mass_move_id,
business_group_id,
effective_date,
new_organization_id,
old_organization_id,
reason,
status)
values
(l_mass_move_id,
p_business_group_id,
p_effective_date,
p_new_organization_id,
p_source_organization_id,
p_reason,
p_status);
hr_utility.set_message_token('PROCEDURE','per_mass_moves_pkg.insert_rows');
end insert_row;
procedure update_row
(p_mass_move_id in number,
p_effective_date in date,
p_new_organization_id in number,
p_source_organization_id in number,
p_reason in varchar2,
p_row_id in varchar2)
is
begin
update per_mass_moves
set effective_date = p_effective_date,
new_organization_id = p_new_organization_id,
old_organization_id = p_source_organization_id,
reason = p_reason
where rowid = p_row_id;
end update_row;
procedure delete_row
(p_mass_move_id in number,
p_row_id in varchar2)
is
begin
delete from per_mass_moves
where rowid = p_row_id;
end delete_row;
select *
from per_mass_moves
where mass_move_id = p_mass_move_id
for update of status nowait;