The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure chk_non_updateable_args
(p_rec in hr_tpc_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select
distinct 'found'
From
hr_ki_topics tpc
where
tpc.topic_key = p_topic_key;
procedure chk_delete(p_topic_id in varchar2)
is
CURSOR csr_hnm_id is
select
distinct 'found'
From
hr_ki_hierarchy_node_maps hnm
where
hnm.topic_id = p_topic_id;
select
distinct 'found'
From
hr_ki_topic_integrations tis
where
tis.topic_id = p_topic_id;
select
distinct 'found'
From
hr_ki_topics_tl ttl
where
ttl.topic_id = p_topic_id;
l_proc varchar2(72) := g_package ||'chk_delete';
End chk_delete;
Procedure insert_validate
(p_rec in hr_tpc_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in hr_tpc_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in hr_tpc_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
chk_delete(p_rec.topic_id);
End delete_validate;