The following lines contain the word 'select', 'insert', 'update' or 'delete':
select null
from hr_organization_information hoi
, per_roles rol
, per_people_f per
where rol.role_id = p_role_id
and per.person_id = rol.person_id
and hoi.organization_id = per.business_group_id
and hoi.org_information_context||'' = 'Business Group Information';
select pbg.legislation_code
from per_business_groups pbg
, per_roles rol
, per_people_f per
where rol.role_id = p_role_id
and rol.person_id = per.person_id
and per.business_group_id = pbg.business_group_id;
select null
from per_people_f per
where per.person_id = p_person_id
and p_effective_date between per.effective_start_date
and per.effective_end_date;
select p.business_group_id
,j.business_group_id
from per_all_people_f p
,per_job_groups j
where p.person_id = p_person_id
and j.job_group_id = p_job_group_id;
select 'X'
from per_job_groups
where job_group_id = p_job_group_id
and internal_name <> 'HR_'||business_group_id;
select 'X'
from per_jobs
where job_group_id = p_job_group_id
and job_id = p_job_id;
select 'X'
from hr_organization_information hoi
where org_information1 = to_char(p_job_group_id)
and organization_id = p_organization_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in per_rol_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
Procedure insert_validate
(p_effective_date in date
,p_rec in per_rol_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in per_rol_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_effective_date => p_effective_date
,p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in per_rol_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;
select 'X'
from per_roles
where person_id = p_person_id
and job_group_id = p_job_group_id
and job_id = p_job_id;