The following lines contain the word 'select', 'insert', 'update' or 'delete':
select null
from fnd_currencies_tl
where currency_code = p_uom ;
select null
from ben_per_in_ler a
where a.per_in_ler_id = p_per_in_ler_id
and a.per_in_ler_stat_cd = 'STRTD';
select null
from ben_lee_rsn_f a
where a.lee_rsn_id = p_lee_rsn_id
and p_effective_date
between a.effective_start_date
and a.effective_end_date;
select null
from ben_enrt_perd a
where a.enrt_perd_id = p_enrt_perd_id;
select sysdate
from dual;
select per1.full_name person1,
per2.full_name person2
from ben_cwb_hrchy cwb1,
ben_pil_elctbl_chc_popl pel1,
ben_per_in_ler pil1,
per_all_people_f per1,
per_all_people_f per2
where cwb1.mgr_pil_elctbl_chc_popl_id = p_pil_elctbl_chc_popl_id
and cwb1.lvl_num > 0
and pel1.pil_elctbl_chc_popl_id = cwb1.mgr_pil_elctbl_chc_popl_id
and pil1.per_in_ler_id = pel1.per_in_ler_id
and per1.person_id = pil1.person_id
and trunc(p_effective_date) between per1.effective_start_date
and per1.effective_end_date
and per2.person_id = p_ws_mgr_id
and trunc(p_effective_date) between per2.effective_start_date
and per2.effective_end_date
and exists
( select 'x'
from ben_pil_elctbl_chc_popl pel2,
ben_per_in_ler pil2
where pil2.person_id = p_ws_mgr_id
and pil2.lf_evt_ocrd_dt = pil1.lf_evt_ocrd_dt
and pil2.ler_id = pil1.ler_id
and pel2.per_in_ler_id = pil2.per_in_ler_id
and pel2.pl_id = pel1.pl_id
and pel2.pil_elctbl_chc_popl_id = cwb1.emp_pil_elctbl_chc_popl_id);
Procedure insert_validate(p_rec in ben_pel_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate(p_rec in ben_pel_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'update_validate';
End update_validate;
Procedure delete_validate(p_rec in ben_pel_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'delete_validate';
select 1
from ben_elig_per_elctbl_chc epe
where epe.pil_elctbl_chc_popl_id = p_pil_elctbl_chc_popl_id;
End delete_validate;
select a.legislation_code
from per_business_groups a,
ben_pil_elctbl_chc_popl b
where b.pil_elctbl_chc_popl_id = p_pil_elctbl_chc_popl_id
and a.business_group_id = b.business_group_id;