Which option would you use?

View the following SQL statements: Transaction T1INSERT INTO hr.regions VALUES
(5,’Pole’); COMMIT; Transaction T2UPDATE hr.regions SET region_name=’Poles’ WHERE
region_id = 5; COMMIT; Transaction T3UPDATE hr.regions SET region_name=’North and
South Poles’ WHERE region_id = 5; You want to back out transaction T2. Which option
would you use?

View the following SQL statements: Transaction T1INSERT INTO hr.regions VALUES
(5,’Pole’); COMMIT; Transaction T2UPDATE hr.regions SET region_name=’Poles’ WHERE
region_id = 5; COMMIT; Transaction T3UPDATE hr.regions SET region_name=’North and
South Poles’ WHERE region_id = 5; You want to back out transaction T2. Which option
would you use?

A.
It is possible with the NOCASCADE_FORCE option.

B.
It is possible with the NONCONFLICT_ONLY option.

C.
It is possible, but transaction T3 also backs out.

D.
It is not possible because it has conflicts with transaction T3.



Leave a Reply 0

Your email address will not be published. Required fields are marked *