The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_index_to_delete NUMBER;
l_att_to_delete BOOLEAN;
l_att_to_delete := FALSE;
,p_att_to_delete => l_att_to_delete);
IF l_attribute_found = FALSE AND l_att_to_delete = FALSE THEN
if g_debug then
hr_utility.trace('create');
-- update the attribute
-- now we need to place the id of this alias at the right place
IF l_att_to_delete = FALSE THEN
hxc_alias_utility.set_attribute_information
(p_attributes => p_attributes,
p_index_in_table => l_attribute_index,
p_attribute_to_set => l_segment,
p_value_to_set => l_value);
hr_utility.trace('DELETE');
l_index_to_delete := l_index_attribute;
IF p_attributes.exists(l_index_to_delete) THEN
p_attributes.delete(l_index_to_delete);
IS SELECT format_type
FROM fnd_flex_value_sets
WHERE flex_value_set_id = p_reference_object;
p_attributes.delete(to_number(p_alias_att_ref(l_time_building_block_id).ATTRIBUTE_INDEX));
select alias_value_id ,alias_value_name
from hxc_alias_values
where alias_definition_id = p_alias_definition_id
and enabled_flag = 'Y'
and date_from <= p_stop_time
and nvl(date_to,hr_general.end_of_time) >= p_start_time;
l_alias_att_ref.delete;
l_alias_att_ref.delete;
l_alias_val_att_to_match.delete;
l_alias_val_att_to_match.delete;