The following lines contain the word 'select', 'insert', 'update' or 'delete':
select name
from ota_activity_definitions_tl
where activity_id = p_activity_id
and language = userenv('LANG') ;
select version_name
from ota_activity_versions_tl
where activity_version_id = p_activity_version_id
and language = userenv('LANG') ;
select title
from ota_events_tl
where event_id = l_event_id
and language = userenv('LANG') ;
select meaning
from hr_lookups
where lookup_code = l_lookup_code
and lookup_type = 'RESOURCE_BOOKING_STATUS';
select meaning
from hr_lookups
where lookup_code = l_lookup_code
and lookup_type = 'GL_TRANSFER_STATUS';
select effective_date
into temp
from fnd_sessions
where session_id=userenv('SESSIONID');
select replace(name,fnd_global.local_chr(10),fnd_global.local_chr(46))
from hr_all_organization_units org,
ota_events_vl evt
where evt.event_id = pevent_id
and evt.training_center_id = org.organization_id;