The following lines contain the word 'select', 'insert', 'update' or 'delete':
select inf.org_information14
from hr_organization_information inf
, hr_questionnaires qsn
where qsn.questionnaire_template_id = p_questionnaire_template_id
and inf.organization_id = qsn.business_group_id(+)
and inf.org_information_context || '' = 'Business Group Information';
Procedure chk_non_updateable_args
(p_rec in hr_qsn_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
end chk_non_updateable_args;
select null
from hr_questionnaires
where name = p_name
and ((p_business_group_id is null and business_group_id is null)
or business_group_id = p_business_group_id);
procedure chk_row_delete
(p_questionnaire_template_id in hr_questionnaires.questionnaire_template_id%TYPE)
is
--
l_proc varchar2(72) := g_package || 'chk_row_delete';
select null
from hr_quest_fields qsf
where qsf.questionnaire_template_id = p_questionnaire_template_id;
end chk_row_delete;
Procedure insert_validate(p_rec in hr_qsn_shd.g_rec_type
,p_effective_date in date
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate(p_rec in hr_qsn_shd.g_rec_type
,p_effective_date in date
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args(p_rec);
End update_validate;
Procedure delete_validate(p_rec in hr_qsn_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'delete_validate';
chk_row_delete(p_questionnaire_template_id => p_rec.questionnaire_template_id);
End delete_validate;
select pbg.legislation_code
from per_business_groups pbg
, hr_questionnaires qsn
where qsn.questionnaire_template_id = p_questionnaire_template_id
and pbg.business_group_id = qsn.business_group_id;