The following lines contain the word 'select', 'insert', 'update' or 'delete':
select null
from ben_yr_perd a
where a.yr_perd_id = p_yr_perd_id;
cursor c1 is select to_number(to_char(start_date, 'DD')) strt_dd,
to_number(to_char(start_date, 'MM')) strt_mm,
to_number(to_char(end_date, 'DD')) end_dd,
to_number(to_char(end_date, 'MM')) end_mm,
perd_typ_cd
from ben_yr_perd
where yr_perd_id = p_yr_perd_id
and business_group_id = p_business_group_id;
select strt_day, strt_mo, end_day, end_mo
from ben_wthn_yr_perd
where tm_uom = p_tm_uom
and yr_perd_id = p_yr_perd_id
and wthn_yr_perd_id <> nvl(p_wthn_yr_perd_id, hr_api.g_number)
and business_group_id + 0 = p_business_group_id;
select null
from ben_wthn_yr_perd
where tm_uom = p_tm_uom
and yr_perd_id = p_yr_perd_id
and strt_day = p_strt_day
and strt_mo = p_strt_mo
and end_day = p_end_day
and end_mo = p_end_mo
and wthn_yr_perd_id <> nvl(p_wthn_yr_perd_id, hr_api.g_number)
and business_group_id + 0 = p_business_group_id;
cursor c1 is select to_number(to_char(start_date, 'DD')) l_strt_dd,
to_number(to_char(start_date, 'MM')) l_strt_mm,
to_number(to_char(start_date, 'YYYY')) l_strt_yy,
to_number(to_char(end_date, 'DD')) l_end_dd,
to_number(to_char(end_date, 'MM')) l_end_mm,
to_number(to_char(end_date, 'YYYY')) l_end_yy
from ben_yr_perd
where yr_perd_id = p_yr_perd_id
and business_group_id = p_business_group_id;
Procedure insert_validate(p_rec in ben_wyp_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_wyp_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_wyp_shd.g_rec_type
,p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;
select a.legislation_code
from per_business_groups a,
ben_wthn_yr_perd b
where b.wthn_yr_perd_id = p_wthn_yr_perd_id
and a.business_group_id = b.business_group_id;