The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
learning_path_id
,business_group_id
,duration
,duration_units
,object_version_number
,attribute_category
,attribute1
,attribute2
,attribute3
,attribute4
,attribute5
,attribute6
,attribute7
,attribute8
,attribute9
,attribute10
,attribute11
,attribute12
,attribute13
,attribute14
,attribute15
,attribute16
,attribute17
,attribute18
,attribute19
,attribute20
,start_date_active
,end_date_active
,path_source_code
,source_function_code
,assignment_id
,source_id
,notify_days_before_target
,person_id
,contact_id
,display_to_learner_flag
,public_flag
,competency_update_level
from ota_learning_paths
where learning_path_id = p_learning_path_id;
select
learning_path_id
,business_group_id
,duration
,duration_units
,object_version_number
,attribute_category
,attribute1
,attribute2
,attribute3
,attribute4
,attribute5
,attribute6
,attribute7
,attribute8
,attribute9
,attribute10
,attribute11
,attribute12
,attribute13
,attribute14
,attribute15
,attribute16
,attribute17
,attribute18
,attribute19
,attribute20
,start_date_active
,end_date_active
,path_source_code
,source_function_code
,assignment_id
,source_id
,notify_days_before_target
,person_id
,contact_id
,display_to_learner_flag
,public_flag
,competency_update_level
from ota_learning_paths
where learning_path_id = p_learning_path_id
for update nowait;
,p_competency_update_level in varchar2
)
Return g_rec_type is
--
l_rec g_rec_type;
l_rec.competency_update_level := p_competency_update_level ;