The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ota_ent_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ota_events_tl
set
event_id = p_rec.event_id
,language = p_rec.language
,title = p_rec.title
,source_lang = p_rec.source_lang
where event_id = p_rec.event_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in ota_ent_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_effective_date in date
,p_rec in ota_ent_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ota_ent_rku.after_update
(p_effective_date => p_effective_date
,p_event_id
=> p_rec.event_id
,p_language
=> p_rec.language
,p_title
=> p_rec.title
,p_source_lang
=> p_rec.source_lang
,p_title_o
=> ota_ent_shd.g_old_rec.title
,p_source_lang_o
=> ota_ent_shd.g_old_rec.source_lang
);
End post_update;
ota_ent_bus.update_validate
(p_effective_date
,p_rec
);
ota_ent_upd.pre_update(p_rec);
ota_ent_upd.update_dml(p_rec);
ota_ent_upd.post_update
(p_effective_date
,p_rec
);
select ent.language
from ota_events_tl ent
where ent.event_id = p_event_id
and p_language_code in (ent.language
,ent.source_lang);