The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_validate(p_rec in ota_tsp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate(p_rec in ota_tsp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_validate';
End update_validate;
Procedure delete_validate(p_rec in ota_tsp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;
select pbg.security_group_id,
pbg.legislation_code
from per_business_groups_perf pbg
, ota_skill_provisions tsp
,ota_activity_versions tav
where tav.activity_version_id = tsp.activity_version_id
and pbg.business_group_id = tav.business_group_id
and tsp.skill_provision_id = p_skill_provision_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_skill_provisions tsp
,ota_activity_versions tav
where tav.activity_version_id = tsp.activity_version_id
and pbg.business_group_id = tav.business_group_id
and tsp.skill_provision_id = p_skill_provision_id;