The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
emp_city_tax_rule_id,
effective_start_date,
effective_end_date,
assignment_id,
state_code,
county_code,
city_code,
business_group_id,
additional_wa_rate,
filing_status_code,
jurisdiction_code,
lit_additional_tax,
lit_override_amount,
lit_override_rate,
withholding_allowances,
lit_exempt,
sd_exempt,
ht_exempt,
wage_exempt,
school_district_code,
object_version_number,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
attribute21,
attribute22,
attribute23,
attribute24,
attribute25,
attribute26,
attribute27,
attribute28,
attribute29,
attribute30,
cty_information_category,
cty_information1,
cty_information2,
cty_information3,
cty_information4,
cty_information5,
cty_information6,
cty_information7,
cty_information8,
cty_information9,
cty_information10,
cty_information11,
cty_information12,
cty_information13,
cty_information14,
cty_information15,
cty_information16,
cty_information17,
cty_information18,
cty_information19,
cty_information20,
cty_information21,
cty_information22,
cty_information23,
cty_information24,
cty_information25,
cty_information26,
cty_information27,
cty_information28,
cty_information29,
cty_information30
from pay_us_emp_city_tax_rules_f
where emp_city_tax_rule_id = p_emp_city_tax_rule_id
and p_effective_date
between effective_start_date and effective_end_date;
p_delete out nocopy boolean,
p_future_change out nocopy boolean,
p_delete_next_change out nocopy boolean) is
--
l_proc varchar2(72) := g_package||'find_dt_del_modes';
p_delete => p_delete,
p_future_change => p_future_change,
p_delete_next_change => p_delete_next_change);
p_update out nocopy boolean,
p_update_override out nocopy boolean,
p_update_change_insert out nocopy boolean) is
--
l_proc varchar2(72) := g_package||'find_dt_upd_modes';
p_update => p_update,
p_update_override => p_update_override,
p_update_change_insert => p_update_change_insert);
update pay_us_emp_city_tax_rules_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.emp_city_tax_rule_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
emp_city_tax_rule_id,
effective_start_date,
effective_end_date,
assignment_id,
state_code,
county_code,
city_code,
business_group_id,
additional_wa_rate,
filing_status_code,
jurisdiction_code,
lit_additional_tax,
lit_override_amount,
lit_override_rate,
withholding_allowances,
lit_exempt,
sd_exempt,
ht_exempt,
wage_exempt,
school_district_code,
object_version_number,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
attribute21,
attribute22,
attribute23,
attribute24,
attribute25,
attribute26,
attribute27,
attribute28,
attribute29,
attribute30,
cty_information_category,
cty_information1,
cty_information2,
cty_information3,
cty_information4,
cty_information5,
cty_information6,
cty_information7,
cty_information8,
cty_information9,
cty_information10,
cty_information11,
cty_information12,
cty_information13,
cty_information14,
cty_information15,
cty_information16,
cty_information17,
cty_information18,
cty_information19,
cty_information20,
cty_information21,
cty_information22,
cty_information23,
cty_information24,
cty_information25,
cty_information26,
cty_information27,
cty_information28,
cty_information29,
cty_information30
from pay_us_emp_city_tax_rules_f
where emp_city_tax_rule_id = p_emp_city_tax_rule_id
and p_effective_date
between effective_start_date and effective_end_date
for update nowait;
If (p_datetrack_mode <> 'INSERT') then
--
-- We must select and lock the current row.
--
Open C_Sel1;