The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id,
pbg.legislation_code
from per_business_groups_perf pbg
, per_sp_successor_in_plan sip
where sip.successor_in_plan_id = p_successor_in_plan_id
and pbg.business_group_id = sip.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, per_sp_successor_in_plan sip
where sip.successor_in_plan_id = p_successor_in_plan_id
and pbg.business_group_id = sip.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in per_sip_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select full_name
from per_all_people_f
where person_id=p_successor_id
and trunc(sysdate) between effective_start_date and effective_end_date;
select count(*) into l_plan_count
from per_sp_successor_in_plan scsr,
per_sp_plan pl
where scsr.successor_id=p_successor_id
and scsr.status='A'
and scsr.plan_id=pl.plan_id
and pl.status='A';
select status
from per_sp_plan
where plan_id=p_plan_id;
select full_name
from per_all_people_f
where person_id=p_successor_id
and trunc(sysdate) between effective_start_date and effective_end_date;
select pl.successee_id, pl.plan_type
from per_sp_plan pl
where pl.plan_id=p_plan_id;
select dtls.allow_npws, dtls.allow_applicants
from per_sp_successee_details dtls
where dtls.successee_id=p_successee_id
and dtls.successee_type=p_type;
SELECT
ppt.system_person_type
FROM
per_all_people_f papf,
per_person_type_usages_f ptu,
per_person_types ppt
where papf.person_id=p_successor_id
and papf.person_id=ptu.person_id
and ptu.person_type_id=ppt.person_type_id
and trunc(sysdate) between ptu.effective_start_date and ptu.effective_end_date
and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date;
select pl.successee_id, pl.plan_type
from per_sp_plan pl
where pl.plan_id=p_plan_id;
select dtls.max_successors
from per_sp_successee_details dtls
where dtls.successee_id=p_successee_id
and dtls.successee_type=p_type;
SELECT count (*) into l_scsr_count
FROM per_sp_successor_in_plan
WHERE plan_id = p_plan_id
AND status='A';
fnd_msg_pub.Delete_Msg;
select full_name
from per_all_people_f
where person_id=p_successor_id
and trunc(sysdate) between effective_start_date and effective_end_date;
select pl.start_date, pl.end_date
from per_sp_plan pl
where pl.plan_id=p_plan_id;
Procedure insert_validate
(p_effective_date in date
,p_rec in per_sip_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in per_sip_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_effective_date => p_effective_date
,p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in per_sip_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;