The following lines contain the word 'select', 'insert', 'update' or 'delete':
select 'x'
from hr_locations
where location_id = p_location_id and location_use = 'HR';
Procedure chk_non_updateable_args(p_rec in hr_lei_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'chk_non_updateable_args';
end chk_non_updateable_args;
SELECT lit.multiple_occurences_flag
,lit.active_inactive_flag
FROM hr_location_info_types lit
WHERE lit.information_type = p_information_type
;
SELECT 'x'
FROM hr_location_extra_info lei
WHERE lei.information_type = p_information_type
AND lei.location_id = p_location_id ;
Procedure insert_validate(p_rec in hr_lei_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_validate';
select hoi.org_information14, hoi.org_information9
from hr_organization_information hoi
, hr_locations_all loc
where loc.location_id = p_rec.location_id
and hoi.organization_id = nvl(loc.business_group_id,0)
and hoi.org_information_context||'' = 'Business Group Information';
End insert_validate;
Procedure update_validate(p_rec in hr_lei_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_validate';
select hoi.org_information14, hoi.org_information9
from hr_organization_information hoi
, hr_locations_all loc
where loc.location_id = p_rec.location_id
and hoi.organization_id = nvl(loc.business_group_id,0)
and hoi.org_information_context||'' = 'Business Group Information';
chk_non_updateable_args (p_rec => p_rec);
End update_validate;
Procedure delete_validate(p_rec in hr_lei_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;