Oracle
1Z0-071 · Question #402
Table HR.EMPLOYEES contains a row where the EMPLOYEE_ID is 109. User ALICE has no privileges to access HR.EMPLOYEES. User ALICE starts a session. User HR starts a session and successfully executes…
The correct answer is B. The DELETE command will immediately delete the row. See the full explanation below for the reasoning.
Question
Table HR.EMPLOYEES contains a row where the EMPLOYEE_ID is 109. User ALICE has no privileges to access HR.EMPLOYEES. User ALICE starts a session. User HR starts a session and successfully executes these statements:
GRANT DELETE ON employees TO alice; UPDATE employees SET salary = 24000 WHERE employee_id = 109; In her existing session ALICE then executes:
DELETE FROM hr.employees WHERE employee_id = 109; What is the result?
Options
- AThe DELETE command will wait for HR'S transaction to end then delete the row.
- BThe DELETE command will immediately delete the row.
- CThe DELETE command will immediately return an error.
- DThe DELETE command will wait for HR'S transaction to end then return an error.
How the community answered
(29 responses)- A14% (4)
- B76% (22)
- C7% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.