The following lines contain the word 'select', 'insert', 'update' or 'delete':
select ASSIGNMENT_SET_NAME into CP_asg_set_name
from hr_assignment_sets
where assignment_set_id = p_asg_set_id;
Select name into cp_gre_name
from hr_organization_units
where organization_id = p_tax_unit_id;
Select distinct ppf.full_name into c_person_name
from per_people_f ppf
where ppf.person_id = p_person_id;
Select ppf.full_name into c_person_name
from per_people_f ppf,
per_all_assignments_f paa
where paa.person_id = ppf.person_id
and paa.assignment_number = p_assignment_number;
Select pec.classification_name into c_classification_name
from pay_element_classifications pec
where pec.classification_id = p_classification_id;
Select upper(parameter_value)
into trace
from pay_action_parameters
where parameter_name = 'TRACE';
SELECT meaning
FROM fnd_common_lookups
WHERE lookup_type=element_information_category
AND lookup_code=element_information1;
SELECT name
FROM hr_organization_units
WHERE organization_id = fp_business_group_id;