The following lines contain the word 'select', 'insert', 'update' or 'delete':
select vacancy_id
from per_all_assignments_f
where assignment_id = c_assignmentId
and trunc(c_effectiveDate)
between trunc(effective_start_date) and trunc(effective_end_date);
select person_id
from per_all_assignments_f
where assignment_id = c_assignmentId
and trunc(c_effectiveDate)
between trunc(effective_start_date) and trunc(effective_end_date);
select person_id
from per_all_assignments_f
where assignment_id = c_assignmentId
and rownum<2;
select 'IRC_CAND_AGENCY_ID:'
|| inp.agency_id
|| ';'
select manager_id
from per_all_vacancies
where vacancy_id = c_vacancyId
and trunc(c_effectiveDate)
between trunc(date_from) and nvl(trunc(date_to),to_date('31-12-4712','DD-MM-RRRR'));
select recruiter_id
from per_all_assignments_f
where assignment_id = c_assignmentId
and trunc(c_effectiveDate)
between trunc(effective_start_date) and trunc(effective_end_date);
select 'IRC_VACANCY_NAME:'
|| pav.name
|| ';IRC_VAC_BG_ID:'
select 'IRC_COMM_TOPIC_SUBJECT:'
|| ict.SUBJECT
|| ';IRC_COMM_MSG_SENDER_TYPE:'
select length(icm.MESSAGE_BODY)
from IRC_COMM_MESSAGES icm
where icm.COMMUNICATION_TOPIC_ID = c_topicId
and icm.COMMUNICATION_MESSAGE_ID = c_messageId;
select 'IRC_INTVW_LOC_ID:'
|| pe.location_id
|| ';IRC_INTVW_LOC_DETAILS:'
select * into loc_rec from hr_locations_all
where location_id=l_location_id;
l_sqlbuf := 'select '||v_segment_name|| ' from ' || l_table_name||' where location_id= '||l_location_id;
select 'IRC_'
|| c_role
|| '_HZP_ID:'
|| per.party_id
|| ';IRC_'
select 'IRC_JOB_APPL_NEW_STATUS:'
|| per_system_status
|| ';IRC_APPL_NEW_EXTERNAL_STATUS:'
select 'IRC_JOB_APPL_NEW_STATUS:'
|| per_system_status
|| ';IRC_JOB_APPL_NEW_USER_STATUS:'
select c_attributeName
|| ':'
|| meaning
|| ';'
select 'IRC_JOB_APPL_OLD_STATUS:'
|| external_status
|| ';'
select ''
|| ppf.full_name
|| ' ' interviewer
from per_all_people_f ppf
, per_bookings pb
where ppf.person_id = pb.person_id
and pb.event_id = c_interviewId
and trunc(c_effectiveDate) between trunc(ppf.effective_start_date) and trunc(ppf.effective_end_date);