/* Formatted on 07/03/2022 11:47:58 PM (QP5 v5.336) */
UPDATE per_all_people_f a
SET national_identifier = '784123412345671',
EMAIL_ADDRESS = 'test@testmail.com',
a.FIRST_NAME = 'First',
a.LAST_NAME = 'Last',
a.PER_INFORMATION1 = 'Second',
a.PER_INFORMATION2 = 'Third',
a.PER_INFORMATION4 = 'Arabic First',
a.PER_INFORMATION5 = 'Arabic Second',
a.PER_INFORMATION6 = 'Arabic Third',
a.PER_INFORMATION7 = 'Arabic Last',
a.DATE_OF_BIRTH = SYSDATE - 10000
WHERE a.EMPLOYEE_NUMBER IN ('184',
'205',
'414',
'404',
'187')
AND a.BUSINESS_GROUP_ID = 81;
UPDATE pay_external_accounts
SET segment1 = 'AJM', segment4 = '12345678', segment5 = 'AE1234567891234567890'
WHERE external_account_id IN
(SELECT b.external_account_id
FROM pay_personal_payment_methods_f a, pay_external_accounts b
WHERE a.external_account_id = b.external_account_id
AND a.BUSINESS_GROUP_ID = 81
AND a.assignment_id IN
(SELECT x.assignment_id
FROM per_assignments_x x
WHERE x.business_group_id = 81
AND x.assignment_number IN ('184',
'205',
'414',
'404',
'187')));
update per_phones
set phone_number = '050123456'
where parent_table = 'PER_ALL_PEOPLE_F'
and parent_id in
(
select person_id from per_people_x where business_group_id = 81 and employee_number in
('184',
'205',
'414',
'404',
'187')
)
No comments:
Post a Comment