nerdexam
Oracle

1Z0-497 · Question #117

All database users are currently connected to the database instance and are working. The HR user opens three database sessions and executes this command in one of the sessions: SQL> UPDATE persons…

The correct answer is C. the session of the HR user that executed the commands. See the full explanation below for the reasoning.

Question

All database users are currently connected to the database instance and are working. The HR user opens three database sessions and executes this command in one of the sessions:

SQL> UPDATE persons SET ccode='U031' WHERE ccode='U029'; 123 rows updated. SQL> DELETE FROM persons WHERE exp='Y'; 3 rows deleted. The SYS user opens a new session after HR executes the preceding commands. Which option represents the sessions that can see the effect of the UPDATE and DELETE commands?

Options

  • Aall sessions of the HR user
  • Ball sessions of the HR user and the SYS user
  • Cthe session of the HR user that executed the commands
  • Dall sessions for which database users have access privileges to the PERSONS table

How the community answered

(51 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    82% (42)
  • D
    12% (6)

Community Discussion

No community discussion yet for this question.

Full 1Z0-497 Practice