The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
elig_dpnt_id,
create_dt,
elig_strt_dt,
elig_thru_dt,
ovrdn_flag,
ovrdn_thru_dt,
inelg_rsn_cd,
dpnt_inelig_flag,
elig_per_elctbl_chc_id,
per_in_ler_id,
elig_per_id,
elig_per_opt_id,
elig_cvrd_dpnt_id,
dpnt_person_id,
business_group_id,
egd_attribute_category,
egd_attribute1,
egd_attribute2,
egd_attribute3,
egd_attribute4,
egd_attribute5,
egd_attribute6,
egd_attribute7,
egd_attribute8,
egd_attribute9,
egd_attribute10,
egd_attribute11,
egd_attribute12,
egd_attribute13,
egd_attribute14,
egd_attribute15,
egd_attribute16,
egd_attribute17,
egd_attribute18,
egd_attribute19,
egd_attribute20,
egd_attribute21,
egd_attribute22,
egd_attribute23,
egd_attribute24,
egd_attribute25,
egd_attribute26,
egd_attribute27,
egd_attribute28,
egd_attribute29,
egd_attribute30,
request_id,
program_application_id,
program_id,
program_update_date,
object_version_number
from ben_elig_dpnt
where elig_dpnt_id = p_elig_dpnt_id;
select elig_dpnt_id,
create_dt,
elig_strt_dt,
elig_thru_dt,
ovrdn_flag,
ovrdn_thru_dt,
inelg_rsn_cd,
dpnt_inelig_flag,
elig_per_elctbl_chc_id,
per_in_ler_id,
elig_per_id,
elig_per_opt_id,
elig_cvrd_dpnt_id,
dpnt_person_id,
business_group_id,
egd_attribute_category,
egd_attribute1,
egd_attribute2,
egd_attribute3,
egd_attribute4,
egd_attribute5,
egd_attribute6,
egd_attribute7,
egd_attribute8,
egd_attribute9,
egd_attribute10,
egd_attribute11,
egd_attribute12,
egd_attribute13,
egd_attribute14,
egd_attribute15,
egd_attribute16,
egd_attribute17,
egd_attribute18,
egd_attribute19,
egd_attribute20,
egd_attribute21,
egd_attribute22,
egd_attribute23,
egd_attribute24,
egd_attribute25,
egd_attribute26,
egd_attribute27,
egd_attribute28,
egd_attribute29,
egd_attribute30,
request_id,
program_application_id,
program_id,
program_update_date,
object_version_number
from ben_elig_dpnt
where elig_dpnt_id = p_elig_dpnt_id
for update nowait;
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;