The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, per_election_candidates eca
where eca.election_candidate_id = p_election_candidate_id
and pbg.business_group_id = eca.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, per_election_candidates eca
where eca.election_candidate_id = p_election_candidate_id
and pbg.business_group_id = eca.business_group_id;
Procedure chk_non_updateable_args
(p_rec in per_eca_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
procedure chk_delete
(p_election_candidate_id in number
)
is
--
l_proc varchar2(72) := g_package||'chk_delete';
select election_candidate_id
from per_election_candidates
where election_candidate_id = p_election_candidate_id
and role_id is null;
end chk_delete;
Procedure delete_validate
(p_rec in per_eca_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
chk_delete(p_election_candidate_id => p_rec.election_candidate_id);
End delete_validate;
select person_id
from per_all_people_f
where person_id = p_person_id;
select election_id
from per_elections
where election_id = p_election_id;
select election_candidate_id
from per_election_candidates
where election_id = p_election_id
and person_id = p_person_id;
select role_id
from per_roles
where role_id = p_role_id;
Procedure insert_validate
(p_rec in per_eca_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in per_eca_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End update_validate;