The following lines contain the word 'select', 'insert', 'update' or 'delete':
select position_structure_id, business_group_id
from per_position_structures
where name = p_name;
select position_structure_id,business_group_id
from per_position_structures
where primary_position_flag = 'Y';
select count(*)
into l_count
from PER_POS_STRUCTURE_VERSIONS
where POSITION_STRUCTURE_ID = p_position_Structure_Id;
select count(*)
into l_count
from per_security_profiles
where position_structure_id = p_position_structure_id;
select pbg.security_group_id
from per_business_groups pbg
, per_position_structures pst
where pst.position_structure_id = p_position_structure_id
and pbg.business_group_id = pst.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, per_position_structures pst
where pst.position_structure_id = p_position_structure_id
and pbg.business_group_id = pst.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in per_pst_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_pst_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_pst_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_pst_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;