The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, pqp_vehicle_details pvd
where pvd.vehicle_details_id = p_vehicle_details_id
and pbg.business_group_id = pvd.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, pqp_vehicle_details pvd
where pvd.vehicle_details_id = p_vehicle_details_id
and pbg.business_group_id (+) = pvd.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in pqp_pvd_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
SELECT 'x'
FROM PQP_ASSIGNMENT_ATTRIBUTES_F
WHERE primary_company_car = p_vehicle_details_id
OR secondary_company_car = p_vehicle_details_id
OR private_car = p_vehicle_details_id;
Procedure insert_validate
(p_effective_date in date
,p_rec in pqp_pvd_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 pqp_pvd_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 pqp_pvd_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;