The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
ELIG_PERF_RTNG_PRTE_id,
effective_start_date,
effective_end_date,
business_group_id,
ELIGY_PRFL_id,
ordr_num,
excld_flag,
event_type,
perf_rtng_cd,
erg_attribute_category,
erg_attribute1,
erg_attribute2,
erg_attribute3,
erg_attribute4,
erg_attribute5,
erg_attribute6,
erg_attribute7,
erg_attribute8,
erg_attribute9,
erg_attribute10,
erg_attribute11,
erg_attribute12,
erg_attribute13,
erg_attribute14,
erg_attribute15,
erg_attribute16,
erg_attribute17,
erg_attribute18,
erg_attribute19,
erg_attribute20,
erg_attribute21,
erg_attribute22,
erg_attribute23,
erg_attribute24,
erg_attribute25,
erg_attribute26,
erg_attribute27,
erg_attribute28,
erg_attribute29,
erg_attribute30,
object_version_number,
criteria_score,
criteria_weight
from ben_ELIG_PERF_RTNG_PRTE_f
where ELIG_PERF_RTNG_PRTE_id = p_ELIG_PERF_RTNG_PRTE_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.ELIGY_PRFL_id
from ben_ELIG_PERF_RTNG_PRTE_f t
where t.ELIG_PERF_RTNG_PRTE_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_ELIG_PERF_RTNG_PRTE_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.ELIG_PERF_RTNG_PRTE_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
ELIG_PERF_RTNG_PRTE_id,
effective_start_date,
effective_end_date,
business_group_id,
ELIGY_PRFL_id,
ordr_num,
excld_flag,
event_type,
perf_rtng_cd,
erg_attribute_category,
erg_attribute1,
erg_attribute2,
erg_attribute3,
erg_attribute4,
erg_attribute5,
erg_attribute6,
erg_attribute7,
erg_attribute8,
erg_attribute9,
erg_attribute10,
erg_attribute11,
erg_attribute12,
erg_attribute13,
erg_attribute14,
erg_attribute15,
erg_attribute16,
erg_attribute17,
erg_attribute18,
erg_attribute19,
erg_attribute20,
erg_attribute21,
erg_attribute22,
erg_attribute23,
erg_attribute24,
erg_attribute25,
erg_attribute26,
erg_attribute27,
erg_attribute28,
erg_attribute29,
erg_attribute30,
object_version_number,
criteria_score,
criteria_weight
from ben_ELIG_PERF_RTNG_PRTE_f
where ELIG_PERF_RTNG_PRTE_id = p_ELIG_PERF_RTNG_PRTE_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;