The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
emp_county_tax_rule_id,
effective_start_date,
effective_end_date,
assignment_id,
state_code,
county_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,
cnt_information_category,
cnt_information1,
cnt_information2,
cnt_information3,
cnt_information4,
cnt_information5,
cnt_information6,
cnt_information7,
cnt_information8,
cnt_information9,
cnt_information10,
cnt_information11,
cnt_information12,
cnt_information13,
cnt_information14,
cnt_information15,
cnt_information16,
cnt_information17,
cnt_information18,
cnt_information19,
cnt_information20,
cnt_information21,
cnt_information22,
cnt_information23,
cnt_information24,
cnt_information25,
cnt_information26,
cnt_information27,
cnt_information28,
cnt_information29,
cnt_information30
from pay_us_emp_county_tax_rules_f
where emp_county_tax_rule_id = p_emp_county_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_county_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_county_tax_rule_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
emp_county_tax_rule_id,
effective_start_date,
effective_end_date,
assignment_id,
state_code,
county_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,
cnt_information_category,
cnt_information1,
cnt_information2,
cnt_information3,
cnt_information4,
cnt_information5,
cnt_information6,
cnt_information7,
cnt_information8,
cnt_information9,
cnt_information10,
cnt_information11,
cnt_information12,
cnt_information13,
cnt_information14,
cnt_information15,
cnt_information16,
cnt_information17,
cnt_information18,
cnt_information19,
cnt_information20,
cnt_information21,
cnt_information22,
cnt_information23,
cnt_information24,
cnt_information25,
cnt_information26,
cnt_information27,
cnt_information28,
cnt_information29,
cnt_information30
from pay_us_emp_county_tax_rules_f
where emp_county_tax_rule_id = p_emp_county_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;