The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
eligy_prfl_id,
effective_start_date,
effective_end_date,
name,
description,
stat_cd,
asmt_to_use_cd,
elig_enrld_plip_flag,
elig_cbr_quald_bnf_flag,
elig_enrld_ptip_flag,
elig_dpnt_cvrd_plip_flag,
elig_dpnt_cvrd_ptip_flag,
elig_dpnt_cvrd_pgm_flag,
elig_job_flag,
elig_hrly_slrd_flag,
elig_pstl_cd_flag,
elig_lbr_mmbr_flag,
elig_lgl_enty_flag,
elig_benfts_grp_flag,
elig_wk_loc_flag,
elig_brgng_unit_flag,
elig_age_flag,
elig_los_flag,
elig_per_typ_flag,
elig_fl_tm_pt_tm_flag,
elig_ee_stat_flag,
elig_grd_flag,
elig_pct_fl_tm_flag,
elig_asnt_set_flag,
elig_hrs_wkd_flag,
elig_comp_lvl_flag,
elig_org_unit_flag,
elig_loa_rsn_flag,
elig_pyrl_flag,
elig_schedd_hrs_flag,
elig_py_bss_flag,
eligy_prfl_rl_flag,
elig_cmbn_age_los_flag,
cntng_prtn_elig_prfl_flag,
elig_prtt_pl_flag,
elig_ppl_grp_flag,
elig_svc_area_flag,
elig_ptip_prte_flag,
elig_no_othr_cvg_flag,
elig_enrld_pl_flag,
elig_enrld_oipl_flag,
elig_enrld_pgm_flag,
elig_dpnt_cvrd_pl_flag,
elig_lvg_rsn_flag,
elig_optd_mdcr_flag,
elig_tbco_use_flag,
elig_dpnt_othr_ptip_flag,
business_group_id,
elp_attribute_category,
elp_attribute1,
elp_attribute2,
elp_attribute3,
elp_attribute4,
elp_attribute5,
elp_attribute6,
elp_attribute7,
elp_attribute8,
elp_attribute9,
elp_attribute10,
elp_attribute11,
elp_attribute12,
elp_attribute13,
elp_attribute14,
elp_attribute15,
elp_attribute16,
elp_attribute17,
elp_attribute18,
elp_attribute19,
elp_attribute20,
elp_attribute21,
elp_attribute22,
elp_attribute23,
elp_attribute24,
elp_attribute25,
elp_attribute26,
elp_attribute27,
elp_attribute28,
elp_attribute29,
elp_attribute30,
elig_mrtl_sts_flag,
elig_gndr_flag,
elig_dsblty_ctg_flag,
elig_dsblty_rsn_flag,
elig_dsblty_dgr_flag,
elig_suppl_role_flag,
elig_qual_titl_flag,
elig_pstn_flag,
elig_prbtn_perd_flag,
elig_sp_clng_prg_pt_flag,
bnft_cagr_prtn_cd,
elig_dsbld_flag,
elig_ttl_cvg_vol_flag,
elig_ttl_prtt_flag,
elig_comptncy_flag,
elig_hlth_cvg_flag,
elig_anthr_pl_flag,
elig_qua_in_gr_flag,
elig_perf_rtng_flag,
elig_crit_values_flag, /* RBC */
object_version_number
from ben_eligy_prfl_f
where eligy_prfl_id = p_eligy_prfl_id
and p_effective_date
between effective_start_date and effective_end_date;
p_delete out nocopy boolean,
p_future_change out nocopy boolean,
p_delete_next_change out nocopy boolean) is
--
l_proc varchar2(72) := g_package||'find_dt_del_modes';
p_delete => p_delete,
p_future_change => p_future_change,
p_delete_next_change => p_delete_next_change);
p_update out nocopy boolean,
p_update_override out nocopy boolean,
p_update_change_insert out nocopy boolean) is
--
l_proc varchar2(72) := g_package||'find_dt_upd_modes';
p_update => p_update,
p_update_override => p_update_override,
p_update_change_insert => p_update_change_insert);
update ben_eligy_prfl_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.eligy_prfl_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
eligy_prfl_id,
effective_start_date,
effective_end_date,
name,
description,
stat_cd,
asmt_to_use_cd,
elig_enrld_plip_flag,
elig_cbr_quald_bnf_flag,
elig_enrld_ptip_flag,
elig_dpnt_cvrd_plip_flag,
elig_dpnt_cvrd_ptip_flag,
elig_dpnt_cvrd_pgm_flag,
elig_job_flag,
elig_hrly_slrd_flag,
elig_pstl_cd_flag,
elig_lbr_mmbr_flag,
elig_lgl_enty_flag,
elig_benfts_grp_flag,
elig_wk_loc_flag,
elig_brgng_unit_flag,
elig_age_flag,
elig_los_flag,
elig_per_typ_flag,
elig_fl_tm_pt_tm_flag,
elig_ee_stat_flag,
elig_grd_flag,
elig_pct_fl_tm_flag,
elig_asnt_set_flag,
elig_hrs_wkd_flag,
elig_comp_lvl_flag,
elig_org_unit_flag,
elig_loa_rsn_flag,
elig_pyrl_flag,
elig_schedd_hrs_flag,
elig_py_bss_flag,
eligy_prfl_rl_flag,
elig_cmbn_age_los_flag,
cntng_prtn_elig_prfl_flag,
elig_prtt_pl_flag,
elig_ppl_grp_flag,
elig_svc_area_flag,
elig_ptip_prte_flag,
elig_no_othr_cvg_flag,
elig_enrld_pl_flag,
elig_enrld_oipl_flag,
elig_enrld_pgm_flag,
elig_dpnt_cvrd_pl_flag,
elig_lvg_rsn_flag,
elig_optd_mdcr_flag,
elig_tbco_use_flag,
elig_dpnt_othr_ptip_flag,
business_group_id,
elp_attribute_category,
elp_attribute1,
elp_attribute2,
elp_attribute3,
elp_attribute4,
elp_attribute5,
elp_attribute6,
elp_attribute7,
elp_attribute8,
elp_attribute9,
elp_attribute10,
elp_attribute11,
elp_attribute12,
elp_attribute13,
elp_attribute14,
elp_attribute15,
elp_attribute16,
elp_attribute17,
elp_attribute18,
elp_attribute19,
elp_attribute20,
elp_attribute21,
elp_attribute22,
elp_attribute23,
elp_attribute24,
elp_attribute25,
elp_attribute26,
elp_attribute27,
elp_attribute28,
elp_attribute29,
elp_attribute30,
elig_mrtl_sts_flag,
elig_gndr_flag,
elig_dsblty_ctg_flag,
elig_dsblty_rsn_flag,
elig_dsblty_dgr_flag,
elig_suppl_role_flag,
elig_qual_titl_flag,
elig_pstn_flag,
elig_prbtn_perd_flag,
elig_sp_clng_prg_pt_flag,
bnft_cagr_prtn_cd,
elig_dsbld_flag,
elig_ttl_cvg_vol_flag,
elig_ttl_prtt_flag,
elig_comptncy_flag,
elig_hlth_cvg_flag,
elig_anthr_pl_flag,
elig_qua_in_gr_flag,
elig_perf_rtng_flag,
elig_crit_values_flag, /* RBC */
object_version_number
from ben_eligy_prfl_f
where eligy_prfl_id = p_eligy_prfl_id
and p_effective_date
between effective_start_date and effective_end_date
for update nowait;
If (p_datetrack_mode <> 'INSERT') then
--
-- We must select and lock the current row.
--
Open C_Sel1;