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_resource_usages rud
, ota_offerings off
where rud.resource_usage_id = p_resource_usage_id
and rud.offering_id = off.offering_id
and pbg.business_group_id = off.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_resource_usages rud
, ota_suppliable_resources tsr
where rud.resource_usage_id = p_resource_usage_id
and rud.supplied_resource_id = tsr.supplied_Resource_id
and pbg.business_group_id = tsr.business_group_id;
select 'No'
from ota_resource_usages rud
where rud.supplied_resource_id = p_supplied_resource_id
and rud.offering_id = p_offering_id;
select
off.start_date
,off.end_date
from
ota_offerings off
where
off.offering_id = p_offering_id;
select tsr.start_date,
tsr.end_date
from ota_suppliable_resources tsr
where tsr.supplied_resource_id = p_supplied_resource_id;
select 'YES'
from ota_suppliable_resources tsr,
ota_offerings off
where tsr.supplied_resource_id = p_supplied_resource_id
and off.offering_id = p_offering_id
and tsr.business_group_id = off.business_group_id;
select
tsr.resource_type
from
ota_suppliable_resources tsr
where
tsr.supplied_resource_id = p_supplied_resource_id;
select resource_type
from ota_suppliable_resources
where supplied_resource_id = p_rec.supplied_resource_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_rud_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_rud_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_rud_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_rud_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;