The following lines contain the word 'select', 'insert', 'update' or 'delete':
select nmf.legislation_code
from hr_name_formats nmf
where nmf.name_format_id = p_name_format_id;
Procedure chk_delete(p_name_format_id in hr_name_formats.name_format_id%TYPE
) IS
--
l_proc varchar2(72) := g_package || 'chk_delete';
select created_by
from hr_name_formats
where name_format_id = p_id;
End chk_delete;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in hr_nmf_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select 'Y'
from HR_NAME_FORMATS
where format_name = p_format_name
and (p_leg_code is null and legislation_code is null
or p_leg_code is not null and legislation_code = p_leg_code)
and user_format_choice = p_user_choice;
Procedure insert_validate
(p_effective_date in date
,p_rec in hr_nmf_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in hr_nmf_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_effective_date => p_effective_date
,p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in hr_nmf_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||' delete_validate';
chk_delete(p_name_format_id => p_rec.name_format_id);
End delete_validate;