The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT title from ota_events_vl
where
event_id = p_event_id;
SELECT name from ota_offerings_tl
where
language=userenv('LANG')
and
offering_id = p_offering_id;
SELECT version_name
FROM OTA_ACTIVITY_VERSIONS_TL
WHERE activity_version_id = p_activity_version_id
AND language=userenv('LANG');
SELECT oav.version_name
FROM OTA_ACTIVITY_VERSIONS_TL oav,ota_events oev
WHERE oav.activity_version_id = oev.activity_version_id
AND oav.language=userenv('LANG')
and oev.event_id = p_eventid;
select 'X'
from per_all_people_f ppf,
per_person_type_usages_f ptu,
per_person_types ppt
where p_date between ptu.effective_start_date and ptu.effective_end_date
and p_date between ppf.effective_start_date and ppf.effective_end_date
and ptu.person_id = ppf.person_id
and ppt.system_person_type in ('EMP','CWK','APL') -- Added 'APL' for 3885568
and ppt.business_group_id = ppf.business_group_id
and ptu.person_type_id = ppt.person_type_id
and ppf.person_id = p_person_id ;
select 1
from hr_lookups
where lookup_type = p_domain_type
and lookup_code = p_domain_value;
select user_name
from fnd_user
where user_id = p_user_id;
select effective_date
from fnd_sessions
where session_id = p_session_id;
select 'Y'
from fnd_user
where user_id = p_user_id;
select 'X'
from per_all_people_f
where person_id = p_person_id
and l_date between effective_start_date and effective_end_date;
select 1
from fnd_currencies
where currency_code = p_currency_code;
select 1
from fnd_languages
where language_id = p_language_id;
select vendor_name
from po_vendors
where vendor_id = p_vendor_id;
select 1
from po_vendors
where vendor_name = p_vendor_name;
select 1
from po_vendors
where vendor_id = p_vendor_id
and nvl(end_date_active,to_date('31-12-4712', 'DD-MM-YYYY')) > l_date;
select description
from fnd_languages_vl
where language_id = p_language_id;
select orgs_tl.name
from hr_all_organization_units orgs,hr_all_organization_units_tl orgs_tl
where orgs.organization_id = p_organization_id
and orgs.organization_id = orgs_tl.organization_id
and orgs_tl.language = userenv('LANG');
select name
from fnd_currencies_vl
where currency_code = p_currency_code;
select language_code
from fnd_languages_vl
where language_id = p_language_id;
,p_update_scheduled_event out nocopy varchar2
,p_autogen_development_event out nocopy varchar2
,p_update_development_event out nocopy varchar2) is
cursor get_default_values is
select null
, null
, null
, null
, null
, null
, null
, null
from sys.dual;
,p_update_scheduled_event
,p_autogen_development_event
,p_update_development_event;
l_update_scheduled_event varchar2(30);
l_update_development_event varchar2(30);
,l_update_scheduled_event
,l_autogen_development_event
,l_update_development_event);
,p_update_scheduled_event out nocopy varchar2) is
begin
null;
,p_update_development_event out nocopy varchar2) is
begin
null;
SELECT org.name
FROM hr_all_organization_units org, hr_organization_information ori
WHERE org.business_group_id = l_business_group_id
AND org.organization_id = p_training_center_id
AND org.organization_id = ori.organization_id
AND ori.org_information_context = 'CLASS'
AND ori.org_information1 ='OTA_TC';
SELECT loc.location_code
FROM hr_locations_all loc
WHERE loc.Location_id = p_location_id;
SELECT count(*) total
FROM ota_finance_lines fl,
ota_finance_headers fh
where fl.booking_id = p_booking_id and
fh.finance_header_id = fl.Finance_header_id and
fh.type= 'CT' and
fl.cancelled_flag ='Y';
SELECT loc.location_code
FROM hr_locations_all_tl loc
WHERE loc.location_id = p_location_id
AND loc.language = USERENV('LANG');
SELECT org.name
FROM hr_all_organization_units_tl org
WHERE org.organization_id = p_organization_id
AND org.language = USERENV('LANG');
SELECT PBG.legislation_code
FROM per_business_groups PBG
WHERE PBG.business_group_id = ota_general.get_business_group_id;