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_forums_b frm
where frm.forum_id = p_forum_id
and pbg.business_group_id = frm.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_forums_b frm
where frm.forum_id = p_forum_id
and pbg.business_group_id = frm.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_frm_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_frm_obj_inclusions foi
where
ctu.category_usage_id = foi.object_id
and foi.primary_flag= 'Y'
and foi.forum_id = p_forum_id;
select
ctu.end_date_active
from
ota_category_usages ctu,
ota_frm_obj_inclusions foi
where
ctu.category_usage_id = foi.object_id
and foi.primary_flag= 'Y'
and foi.forum_id = p_forum_id
and foi.object_type = 'C';
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_frm_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_frm_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_frm_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;