The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
document_id
,party_id
,person_id
,assignment_id
,file_name
,file_format
,mime_type
,description
,type
,object_version_number
,end_date
from irc_documents
where document_id = p_document_id;
select
document_id
,party_id
,person_id
,assignment_id
,file_name
,file_format
,mime_type
,description
,type
,object_version_number
,end_date
from irc_documents
where document_id = p_document_id
for update nowait;