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_chats_b cha
where cha.chat_id = p_chat_id
and pbg.business_group_id = cha.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_chats_b cha
where cha.chat_id = p_chat_id
and pbg.business_group_id = cha.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_cha_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select
ctu.start_date_active,
ctu.end_date_active
from
ota_category_usages ctu,
ota_chat_obj_inclusions coi
where
ctu.category_usage_id = coi.object_id
and coi.primary_flag= 'Y'
and coi.chat_id = p_chat_id;
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_cha_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_cha_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_cha_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;