The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ota_lst_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ota_lp_sections_tl
set
learning_path_section_id = p_rec.learning_path_section_id
,language = p_rec.language
,name = p_rec.name
,description = p_rec.description
,source_lang = p_rec.source_lang
where learning_path_section_id = p_rec.learning_path_section_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in ota_lst_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_lst_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ota_lst_rku.after_update
(p_effective_date => p_effective_date
,p_learning_path_section_id
=> p_rec.learning_path_section_id
,p_language
=> p_rec.language
,p_name
=> p_rec.name
,p_description
=> p_rec.description
,p_source_lang
=> p_rec.source_lang
,p_name_o
=> ota_lst_shd.g_old_rec.name
,p_description_o
=> ota_lst_shd.g_old_rec.description
,p_source_lang_o
=> ota_lst_shd.g_old_rec.source_lang
);
End post_update;
ota_lst_bus.update_validate
(p_effective_date
,p_rec
);
ota_lst_upd.pre_update(p_rec);
ota_lst_upd.update_dml(p_rec);
ota_lst_upd.post_update
(p_effective_date
,p_rec
);
select lst.language
from ota_lp_sections_tl lst
where lst.learning_path_section_id = p_learning_path_section_id
and p_language_code in (lst.language
,lst.source_lang);