black

1Z0-042

登录

单项选择题

The user SCOTT executes the following command successfully to increase the salary values in one of his sessions: 
SQL> UPDATE emp SET sal=sal*1.15 WHERE deptno=20; 
Before SCOTT ends the transaction, user HR who has the privileges on EMP table executes a query to fetch the salary details but finds the old salary values instead of the increased values. 
Why does HR still see the old data?()

A.because of redo data from redo log file
B.because of data from database buffer cache
C.because of data from a temporary tablespace
D.because of undo data from the undo tablespace

相关考题

单项选择题 Your database is running under automatic undo management and the UNDO_RETENTION parameter is set to 900 sec. You executed the following command to enable retention guarantee:  SQL> ALTER TABLESPACE undotbs1 RETENTION GUARANTEE  What effect would this statement have on the database?()

多项选择题 A user receives the following error while executing a query: ORA­01555:snapshot too old Which two options can be the solutions to avoid such errors in future?()

多项选择题 User SCOTT executes the following command on the EMP table but has not issued COMMIT, ROLLBACK,or any data definition language (DDL) command:  SQL> SELECT job FROM emp  2  WHERE job=’CLERK’ FOR UPDATE OF empno  SCOTT has opened another session to work with the database. Which three operations would wait when issued in SCOTT’s second session?()

All Rights Reserved 版权所有©建筑考试题库(jzkao.com)

备案号:湘ICP备2020024380号-3