The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
cvrd_dpnt_ctfn_prvdd_id,
effective_start_date,
effective_end_date,
dpnt_dsgn_ctfn_typ_cd,
dpnt_dsgn_ctfn_rqd_flag,
dpnt_dsgn_ctfn_recd_dt,
elig_cvrd_dpnt_id,
prtt_enrt_actn_id,
business_group_id,
ccp_attribute_category,
ccp_attribute1,
ccp_attribute2,
ccp_attribute3,
ccp_attribute4,
ccp_attribute5,
ccp_attribute6,
ccp_attribute7,
ccp_attribute8,
ccp_attribute9,
ccp_attribute10,
ccp_attribute11,
ccp_attribute12,
ccp_attribute13,
ccp_attribute14,
ccp_attribute15,
ccp_attribute16,
ccp_attribute17,
ccp_attribute18,
ccp_attribute19,
ccp_attribute20,
ccp_attribute21,
ccp_attribute22,
ccp_attribute23,
ccp_attribute24,
ccp_attribute25,
ccp_attribute26,
ccp_attribute27,
ccp_attribute28,
ccp_attribute29,
ccp_attribute30,
request_id,
program_application_id,
program_id,
program_update_date,
object_version_number
from ben_cvrd_dpnt_ctfn_prvdd_f
where cvrd_dpnt_ctfn_prvdd_id = p_cvrd_dpnt_ctfn_prvdd_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';
select t.elig_cvrd_dpnt_id,
t.prtt_enrt_actn_id
from ben_cvrd_dpnt_ctfn_prvdd_f t
where t.cvrd_dpnt_ctfn_prvdd_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
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_cvrd_dpnt_ctfn_prvdd_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.cvrd_dpnt_ctfn_prvdd_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
cvrd_dpnt_ctfn_prvdd_id,
effective_start_date,
effective_end_date,
dpnt_dsgn_ctfn_typ_cd,
dpnt_dsgn_ctfn_rqd_flag,
dpnt_dsgn_ctfn_recd_dt,
elig_cvrd_dpnt_id,
prtt_enrt_actn_id,
business_group_id,
ccp_attribute_category,
ccp_attribute1,
ccp_attribute2,
ccp_attribute3,
ccp_attribute4,
ccp_attribute5,
ccp_attribute6,
ccp_attribute7,
ccp_attribute8,
ccp_attribute9,
ccp_attribute10,
ccp_attribute11,
ccp_attribute12,
ccp_attribute13,
ccp_attribute14,
ccp_attribute15,
ccp_attribute16,
ccp_attribute17,
ccp_attribute18,
ccp_attribute19,
ccp_attribute20,
ccp_attribute21,
ccp_attribute22,
ccp_attribute23,
ccp_attribute24,
ccp_attribute25,
ccp_attribute26,
ccp_attribute27,
ccp_attribute28,
ccp_attribute29,
ccp_attribute30,
request_id,
program_application_id,
program_id,
program_update_date,
object_version_number
from ben_cvrd_dpnt_ctfn_prvdd_f
where cvrd_dpnt_ctfn_prvdd_id = p_cvrd_dpnt_ctfn_prvdd_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;
p_program_update_date in date,
p_object_version_number in number
)
Return g_rec_type is
--
l_rec g_rec_type;
l_rec.program_update_date := p_program_update_date;