The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, pay_security_payrolls spr
where spr.security_profile_id = p_security_profile_id
and spr.payroll_id = p_payroll_id
and pbg.business_group_id = spr.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, pay_security_payrolls spr
where spr.security_profile_id = p_security_profile_id
and spr.payroll_id = p_payroll_id
and pbg.business_group_id = spr.business_group_id;
Select distinct pay_all_payrolls_f.business_group_id
Into p_business_group_id
From per_security_profiles, pay_all_payrolls_f
Where pay_all_payrolls_f.business_group_id =
per_security_profiles.business_group_id
And pay_all_payrolls_f.payroll_id = p_payroll_id
And per_security_profiles.security_profile_id = p_security_profile_id;
Select business_group_id
Into p_business_group_id
From per_security_profiles
Where security_profile_id = p_security_profile_id;
SELECT NULL
FROM pay_security_payrolls spr
WHERE spr.security_profile_id = p_security_profile_id
AND spr.payroll_id = p_payroll_id;
SELECT psp.view_all_payrolls_flag
FROM per_security_profiles psp
WHERE psp.security_profile_id = p_security_profile_id;
SELECT NULL
FROM pay_security_payrolls spr
WHERE spr.security_profile_id = p_security_profile_id;
UPDATE per_security_profiles
SET view_all_payrolls_flag = 'Y'
WHERE security_profile_id = p_security_profile_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in pay_spr_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
Procedure insert_validate
(p_effective_date in date
,p_rec in pay_spr_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure delete_validate
(p_rec in pay_spr_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;