[Home] [Help]
The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
opt_id,
effective_start_date,
effective_end_date,
name,
cmbn_ptip_opt_id,
business_group_id,
opt_attribute_category,
opt_attribute1,
opt_attribute2,
opt_attribute3,
opt_attribute4,
opt_attribute5,
opt_attribute6,
opt_attribute7,
opt_attribute8,
opt_attribute9,
opt_attribute10,
opt_attribute11,
opt_attribute12,
opt_attribute13,
opt_attribute14,
opt_attribute15,
opt_attribute16,
opt_attribute17,
opt_attribute18,
opt_attribute19,
opt_attribute20,
opt_attribute21,
opt_attribute22,
opt_attribute23,
opt_attribute24,
opt_attribute25,
opt_attribute26,
opt_attribute27,
opt_attribute28,
opt_attribute29,
opt_attribute30,
object_version_number,
rqd_perd_enrt_nenrt_uom,
rqd_perd_enrt_nenrt_val,
rqd_perd_enrt_nenrt_rl,
invk_wv_opt_flag,
short_name,
short_code,
legislation_code,
legislation_subgroup,
group_opt_id,
component_reason,
mapping_table_name,
mapping_table_pk_id
from ben_opt_f
where opt_id = p_opt_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.cmbn_ptip_opt_id
from ben_opt_f t
where t.opt_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_opt_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.opt_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
opt_id,
effective_start_date,
effective_end_date,
name,
cmbn_ptip_opt_id,
business_group_id,
opt_attribute_category,
opt_attribute1,
opt_attribute2,
opt_attribute3,
opt_attribute4,
opt_attribute5,
opt_attribute6,
opt_attribute7,
opt_attribute8,
opt_attribute9,
opt_attribute10,
opt_attribute11,
opt_attribute12,
opt_attribute13,
opt_attribute14,
opt_attribute15,
opt_attribute16,
opt_attribute17,
opt_attribute18,
opt_attribute19,
opt_attribute20,
opt_attribute21,
opt_attribute22,
opt_attribute23,
opt_attribute24,
opt_attribute25,
opt_attribute26,
opt_attribute27,
opt_attribute28,
opt_attribute29,
opt_attribute30,
object_version_number,
rqd_perd_enrt_nenrt_uom,
rqd_perd_enrt_nenrt_val,
rqd_perd_enrt_nenrt_rl,
invk_wv_opt_flag,
short_name,
short_code,
legislation_code,
legislation_subgroup,
group_opt_id ,
component_reason,
mapping_table_name,
mapping_table_pk_id
from ben_opt_f
where opt_id = p_opt_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;