The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
cmbn_age_los_rt_id,
effective_start_date,
effective_end_date,
vrbl_rt_prfl_id,
cmbn_age_los_fctr_id,
excld_flag,
ordr_num,
business_group_id,
cmr_attribute_category,
cmr_attribute1,
cmr_attribute2,
cmr_attribute3,
cmr_attribute4,
cmr_attribute5,
cmr_attribute6,
cmr_attribute7,
cmr_attribute8,
cmr_attribute9,
cmr_attribute10,
cmr_attribute11,
cmr_attribute12,
cmr_attribute13,
cmr_attribute14,
cmr_attribute15,
cmr_attribute16,
cmr_attribute17,
cmr_attribute18,
cmr_attribute19,
cmr_attribute20,
cmr_attribute21,
cmr_attribute22,
cmr_attribute23,
cmr_attribute24,
cmr_attribute25,
cmr_attribute26,
cmr_attribute27,
cmr_attribute28,
cmr_attribute29,
cmr_attribute30,
object_version_number
from ben_cmbn_age_los_rt_f
where cmbn_age_los_rt_id = p_cmbn_age_los_rt_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.vrbl_rt_prfl_id
from ben_cmbn_age_los_rt_f t
where t.cmbn_age_los_rt_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_cmbn_age_los_rt_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.cmbn_age_los_rt_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
cmbn_age_los_rt_id,
effective_start_date,
effective_end_date,
vrbl_rt_prfl_id,
cmbn_age_los_fctr_id,
excld_flag,
ordr_num,
business_group_id,
cmr_attribute_category,
cmr_attribute1,
cmr_attribute2,
cmr_attribute3,
cmr_attribute4,
cmr_attribute5,
cmr_attribute6,
cmr_attribute7,
cmr_attribute8,
cmr_attribute9,
cmr_attribute10,
cmr_attribute11,
cmr_attribute12,
cmr_attribute13,
cmr_attribute14,
cmr_attribute15,
cmr_attribute16,
cmr_attribute17,
cmr_attribute18,
cmr_attribute19,
cmr_attribute20,
cmr_attribute21,
cmr_attribute22,
cmr_attribute23,
cmr_attribute24,
cmr_attribute25,
cmr_attribute26,
cmr_attribute27,
cmr_attribute28,
cmr_attribute29,
cmr_attribute30,
object_version_number
from ben_cmbn_age_los_rt_f
where cmbn_age_los_rt_id = p_cmbn_age_los_rt_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;