The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
phone_id,
date_from,
date_to,
phone_type,
phone_number,
parent_id,
parent_table,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
attribute21,
attribute22,
attribute23,
attribute24,
attribute25,
attribute26,
attribute27,
attribute28,
attribute29,
attribute30,
party_id, -- HR/TCA merge
validity,
object_version_number
from per_phones
where phone_id = p_phone_id;
select phone_id,
date_from,
date_to,
phone_type,
phone_number,
parent_id,
parent_table,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
attribute21,
attribute22,
attribute23,
attribute24,
attribute25,
attribute26,
attribute27,
attribute28,
attribute29,
attribute30,
party_id, -- HR/TCA merge
validity,
object_version_number
from per_phones
where phone_id = p_phone_id
for update nowait;