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_lp_enrollments lpe
where lpe.lp_enrollment_id = p_lp_enrollment_id
and pbg.business_group_id = lpe.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_lp_enrollments lpe
where lpe.lp_enrollment_id = p_lp_enrollment_id
and pbg.business_group_id = lpe.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_lpe_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select path_source_code
from ota_learning_paths lps
where lps.learning_path_id = p_learning_path_id;
SELECT null
FROM PER_ALL_PEOPLE_F
WHERE person_id = p_person_id;
SELECT null
FROM ota_lp_member_enrollments lme
WHERE lme.lp_enrollment_id = p_lp_enrollment_id;
SELECT null
FROM ota_lp_enrollments lpe
WHERE lpe.learning_path_id = p_learning_path_id
AND ( lpe.person_id = p_person_id and lpe.contact_id IS NULL
OR lpe.contact_id = p_contact_id and lpe.person_id IS NULL)
AND lpe.path_status_code <> 'CANCELLED';
SELECT meaning
FROM hr_lookups
WHERE lookup_type = 'OTA_OBJECT_TYPE'
and lookup_code = 'LP';
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_lpe_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_lpe_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_lpe_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;