The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id,
pbg.legislation_code
from per_business_groups_perf pbg
,ota_bkng_justifications_b bjs
where bjs.booking_justification_id = p_booking_justification_id
and pbg.business_group_id = bjs.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ota_bkng_justifications_b bjs
where bjs.booking_justification_id = p_booking_justification_id
and pbg.business_group_id = bjs.business_group_id;
Procedure chk_non_updateable_args
(p_rec in ota_bjt_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select business_group_id
FROM ota_bkng_justifications_b
WHERE booking_justification_id = p_booking_justification_id;
SELECT 1
FROM ota_bkng_justifications_tl bjt,
ota_bkng_justifications_b bjs
WHERE bjs.booking_justification_id = bjt.booking_justification_id
AND bjs.business_group_id = p_business_group_id
AND bjt.justification_text = p_justification_text
AND bjt.language = USERENV('LANG')
AND bjt.booking_justification_id <> p_booking_justification_id ;
Procedure insert_validate
(p_rec in ota_bjt_shd.g_rec_type
,p_booking_justification_id ota_bkng_justifications_b.booking_justification_id%TYPE
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in ota_bjt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in ota_bjt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;