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_category_usages ctu
where ctu.category_usage_id = p_category_usage_id
and pbg.business_group_id = ctu.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_category_usages ctu
where ctu.category_usage_id = p_category_usage_id
and pbg.business_group_id = ctu.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_ctt_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select
distinct ctu.type
from
ota_category_usages_tl ctt,
ota_category_usages ctu
where
ctt.category_usage_id = ctu.category_usage_id
and (p_category_usage_id is null or ctt.category_usage_id <> p_category_usage_id)
and ( ctu.parent_cat_usage_id = p_parent_cat_usage_id or ctu.type <> 'C')
and ctu.business_group_id = p_business_group_id
and ctu.type = p_type
and ctt.language = p_language
and ctt.category = p_category;
select
distinct ctu.type
from
ota_category_usages_tl ctt
, ota_category_usages ctu
where
ctt.category_usage_id = ctu.category_usage_id
and (p_category_usage_id is null or ctt.category_usage_id <> p_category_usage_id)
and ctu.business_group_id = p_business_group_id
and ctu.type = p_type
and ctt.language = p_language
and ctt.category = p_category;
select
distinct ctu.type, ctu.business_group_id, ctu.parent_cat_usage_id
from
ota_category_usages ctu
where
ctu.category_usage_id = p_category_usage_id;
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_ctt_shd.g_rec_type
,p_category_usage_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_ctt_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_ctt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;