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_frm_obj_inclusions foi
-- , EDIT_HERE table_name(s) 333
where foi.forum_id = p_forum_id
and foi.object_id = p_object_id
and foi.object_type = p_object_type;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_frm_obj_inclusions foi
-- , EDIT_HERE table_name(s) 333
where foi.forum_id = p_forum_id
and foi.object_id = p_object_id
and foi.object_type = p_object_type;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ota_foi_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select 'Y'
from OTA_FRM_OBJ_INCLUSIONS coi
where coi.forum_id = p_forum_id
and coi.object_id = p_object_id
and coi.object_type = 'C';
SELECT
start_date_active,
nvl(end_date_active, to_date ('31-12-4712', 'DD-MM-YYYY'))
FROM ota_category_usages
WHERE category_usage_id = p_object_id;
SELECT start_date_active,
nvl(end_date_active, to_date ('31-12-4712', 'DD-MM-YYYY'))
FROM ota_forums_b
WHERE forum_id = p_forum_id;
select 'Y'
from OTA_FRM_OBJ_INCLUSIONS foi
where foi.forum_id = p_forum_id
and foi.primary_flag = 'Y';
select 'Y'
from OTA_FRM_OBJ_INCLUSIONS foi
where foi.forum_id = p_forum_id
and foi.object_id = p_object_id
and foi.primary_flag = 'Y';
Procedure insert_validate
(p_effective_date in date
,p_rec in ota_foi_shd.g_rec_type
,p_forum_id in number
,p_object_id in number
,p_object_type in varchar2
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in ota_foi_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_foi_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;