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_sections lpc
where lpc.learning_path_section_id = p_learning_path_section_id
and pbg.business_group_id = lpc.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_lp_sections lpc
where lpc.learning_path_section_id = p_learning_path_section_id
and pbg.business_group_id = lpc.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_lpc_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
SELECT learning_path_id
FROM ota_lp_sections
WHERE learning_path_section_id = p_learning_path_section_id;
select 1
from ota_lp_sections lps
where lps.learning_path_id = l_lp_id
and lps.completion_type_code IN ('M', 'S')
AND (p_learning_path_section_id IS NULL
OR ( p_learning_path_section_id IS NOT NULL
AND p_learning_path_section_id <> lps.learning_path_section_id)) ;
select 'Y'
from ota_lp_member_enrollments lme
where lme.learning_path_section_id = p_learning_path_section_id;
SELECT learning_path_id
FROM ota_lp_sections
WHERE learning_path_section_id = p_learning_path_section_id;
SELECT count(learning_path_section_id)
FROM ota_lp_sections
WHERE learning_path_id = l_lp_id;
select path_source_code
from ota_learning_paths lps
where lps.learning_path_id = p_learning_path_id;
select path_source_code
from ota_learning_paths lps
where lps.learning_path_id = p_learning_path_id;
select count(learning_path_member_id)
from ota_learning_path_members lpm
where lpm.learning_path_section_id = p_learning_path_section_id;
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_lpc_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_lpc_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_lpc_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;