8.5. Review Questions
What will be the salary of employee number 189 at the completion of the following SQL statements?
update emp set salary = 1000 where employee_num = 189; savepoint save_1; update emp set salary = salary * 1.1 where employee_num = 189; savepoint save_2; update emp set salary = salary * 1.1 where employee_num = 189; savepoint save_3; rollback to savepoint save_2; commit; update emp set salary = 1500 where employee_num = 189; savepoint save_4; rollback to save_4; commit;
1000
1100
1111
1500
Which of the following commands returns an error if the transaction starts with SET TRANSACTION READ ONLY?
ALTER SYSTEM
SELECT
ALTER USER
SET ROLE
Which of the following commands is most likely to generate an error message? (Choose two.)
ALTER SYSTEM ...
Get OCA: Oracle 10g™ Administration I: Study Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.