The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
pl_bnf_ctfn_prvdd_id,
effective_start_date,
effective_end_date,
bnf_ctfn_typ_cd,
bnf_ctfn_recd_dt,
bnf_ctfn_rqd_flag,
pl_bnf_id,
prtt_enrt_actn_id,
business_group_id,
pbc_attribute_category,
pbc_attribute1,
pbc_attribute2,
pbc_attribute3,
pbc_attribute4,
pbc_attribute5,
pbc_attribute6,
pbc_attribute7,
pbc_attribute8,
pbc_attribute9,
pbc_attribute10,
pbc_attribute11,
pbc_attribute12,
pbc_attribute13,
pbc_attribute14,
pbc_attribute15,
pbc_attribute16,
pbc_attribute17,
pbc_attribute18,
pbc_attribute19,
pbc_attribute20,
pbc_attribute21,
pbc_attribute22,
pbc_attribute23,
pbc_attribute24,
pbc_attribute25,
pbc_attribute26,
pbc_attribute27,
pbc_attribute28,
pbc_attribute29,
pbc_attribute30,
request_id,
program_application_id,
program_id,
program_update_date,
object_version_number
from ben_pl_bnf_ctfn_prvdd_f
where pl_bnf_ctfn_prvdd_id = p_pl_bnf_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.pl_bnf_id,
t.prtt_enrt_actn_id
from ben_pl_bnf_ctfn_prvdd_f t
where t.pl_bnf_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_pl_bnf_ctfn_prvdd_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.pl_bnf_ctfn_prvdd_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
pl_bnf_ctfn_prvdd_id,
effective_start_date,
effective_end_date,
bnf_ctfn_typ_cd,
bnf_ctfn_recd_dt,
bnf_ctfn_rqd_flag,
pl_bnf_id,
prtt_enrt_actn_id,
business_group_id,
pbc_attribute_category,
pbc_attribute1,
pbc_attribute2,
pbc_attribute3,
pbc_attribute4,
pbc_attribute5,
pbc_attribute6,
pbc_attribute7,
pbc_attribute8,
pbc_attribute9,
pbc_attribute10,
pbc_attribute11,
pbc_attribute12,
pbc_attribute13,
pbc_attribute14,
pbc_attribute15,
pbc_attribute16,
pbc_attribute17,
pbc_attribute18,
pbc_attribute19,
pbc_attribute20,
pbc_attribute21,
pbc_attribute22,
pbc_attribute23,
pbc_attribute24,
pbc_attribute25,
pbc_attribute26,
pbc_attribute27,
pbc_attribute28,
pbc_attribute29,
pbc_attribute30,
request_id,
program_application_id,
program_id,
program_update_date,
object_version_number
from ben_pl_bnf_ctfn_prvdd_f
where pl_bnf_ctfn_prvdd_id = p_pl_bnf_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;