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
, ota_cert_prd_enrollments cpe
where cpe.cert_prd_enrollment_id = p_cert_prd_enrollment_id
and pbg.business_group_id = cpe.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_cert_prd_enrollments cpe
where cpe.cert_prd_enrollment_id = p_cert_prd_enrollment_id
and pbg.business_group_id = cpe.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_cpe_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select
cmb.CERTIFICATION_MEMBER_ID
from ota_certification_members cmb,
ota_certifications_b crt,
ota_cert_enrollments cre
where cre.cert_enrollment_id = p_cert_enrollment_id
and cre.certification_id = crt.certification_id
and crt.certification_id = cmb.certification_id
and trunc(sysdate) between trunc(cmb.START_DATE_ACTIVE) and nvl(trunc(cmb.end_date_active), to_date('4712/12/31', 'YYYY/MM/DD'));
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_cpe_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 ota_cpe_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 ota_cpe_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;