[Home] [Help]
The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
elig_per_wv_pl_typ_id,
effective_start_date,
effective_end_date,
pl_typ_id,
elig_per_id,
wv_cftn_typ_cd,
wv_prtn_rsn_cd,
wvd_flag,
business_group_id,
etw_attribute_category,
etw_attribute1,
etw_attribute2,
etw_attribute3,
etw_attribute4,
etw_attribute5,
etw_attribute6,
etw_attribute7,
etw_attribute8,
etw_attribute9,
etw_attribute10,
etw_attribute11,
etw_attribute12,
etw_attribute13,
etw_attribute14,
etw_attribute15,
etw_attribute16,
etw_attribute17,
etw_attribute18,
etw_attribute19,
etw_attribute20,
etw_attribute21,
etw_attribute22,
etw_attribute23,
etw_attribute24,
etw_attribute25,
etw_attribute26,
etw_attribute27,
etw_attribute28,
etw_attribute29,
etw_attribute30,
object_version_number
from ben_elig_per_wv_pl_typ_f
where elig_per_wv_pl_typ_id = p_elig_per_wv_pl_typ_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_per_id,
t.pl_typ_id
from ben_elig_per_wv_pl_typ_f t
where t.elig_per_wv_pl_typ_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_per_wv_pl_typ_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.elig_per_wv_pl_typ_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
elig_per_wv_pl_typ_id,
effective_start_date,
effective_end_date,
pl_typ_id,
elig_per_id,
wv_cftn_typ_cd,
wv_prtn_rsn_cd,
wvd_flag,
business_group_id,
etw_attribute_category,
etw_attribute1,
etw_attribute2,
etw_attribute3,
etw_attribute4,
etw_attribute5,
etw_attribute6,
etw_attribute7,
etw_attribute8,
etw_attribute9,
etw_attribute10,
etw_attribute11,
etw_attribute12,
etw_attribute13,
etw_attribute14,
etw_attribute15,
etw_attribute16,
etw_attribute17,
etw_attribute18,
etw_attribute19,
etw_attribute20,
etw_attribute21,
etw_attribute22,
etw_attribute23,
etw_attribute24,
etw_attribute25,
etw_attribute26,
etw_attribute27,
etw_attribute28,
etw_attribute29,
etw_attribute30,
object_version_number
from ben_elig_per_wv_pl_typ_f
where elig_per_wv_pl_typ_id = p_elig_per_wv_pl_typ_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;