The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ota_ctl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ota_certifications_tl
set
certification_id = p_rec.certification_id
,language = p_rec.language
,name = p_rec.name
,description = p_rec.description
,objectives = p_rec.objectives
,purpose = p_rec.purpose
,keywords = p_rec.keywords
,end_date_comments = p_rec.end_date_comments
,initial_period_comments = p_rec.initial_period_comments
,renewal_period_comments = p_rec.renewal_period_comments
,source_lang = p_rec.source_lang
where certification_id = p_rec.certification_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in ota_ctl_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_ctl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ota_ctl_rku.after_update
(p_effective_date => p_effective_date
,p_certification_id
=> p_rec.certification_id
,p_language
=> p_rec.language
,p_name
=> p_rec.name
,p_description
=> p_rec.description
,p_objectives
=> p_rec.objectives
,p_purpose
=> p_rec.purpose
,p_keywords
=> p_rec.keywords
,p_end_date_comments
=> p_rec.end_date_comments
,p_initial_period_comments
=> p_rec.initial_period_comments
,p_renewal_period_comments
=> p_rec.renewal_period_comments
,p_source_lang
=> p_rec.source_lang
,p_name_o
=> ota_ctl_shd.g_old_rec.name
,p_description_o
=> ota_ctl_shd.g_old_rec.description
,p_objectives_o
=> ota_ctl_shd.g_old_rec.objectives
,p_purpose_o
=> ota_ctl_shd.g_old_rec.purpose
,p_keywords_o
=> ota_ctl_shd.g_old_rec.keywords
,p_end_date_comments_o
=> ota_ctl_shd.g_old_rec.end_date_comments
,p_initial_period_comments_o
=> ota_ctl_shd.g_old_rec.initial_period_comments
,p_renewal_period_comments_o
=> ota_ctl_shd.g_old_rec.renewal_period_comments
,p_source_lang_o
=> ota_ctl_shd.g_old_rec.source_lang
);
End post_update;
ota_ctl_bus.update_validate
(p_effective_date
,p_rec
);
ota_ctl_upd.pre_update(p_rec);
ota_ctl_upd.update_dml(p_rec);
ota_ctl_upd.post_update
(p_effective_date
,p_rec
);
select ctl.language
from ota_certifications_tl ctl
where ctl.certification_id = p_certification_id
and p_language_code in (ctl.language
,ctl.source_lang);