The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id,
pbg.legislation_code
from per_business_groups pbg
, ota_suppliable_resources tsr
where tsr.supplied_resource_id = p_supplied_resource_id
and pbg.business_group_id = tsr.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, ota_suppliable_resources tsr
where tsr.supplied_resource_id = p_supplied_resource_id
and pbg.business_group_id = tsr.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_srt_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select business_group_id,resource_type
from ota_suppliable_resources
where supplied_resource_id = p_supplied_resource_id ;
select tsr.supplied_resource_id
from ota_suppliable_resources tsr, ota_suppliable_resources_tl srt
where tsr.business_group_id = l_business_group_id
and srt.supplied_resource_id = tsr.supplied_resource_id
and srt.language = p_language
and (p_supplied_resource_id is null or p_supplied_resource_id <> srt.supplied_resource_id)
and srt.name = p_name
and tsr.resource_type = l_resource_type;
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_srt_shd.g_rec_type
,p_supplied_resource_id in number
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in ota_srt_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_srt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;