Oracle Database: Program with PL/SQL — Question 67

Select the correct statement regarding BEQUEATH CURRENT_USER.

Answer options

Correct answer: B

Explanation

The correct answer is B because the BEQUEATH CURRENT_USER clause allows invoker's rights functions to execute under the privileges of the user who is invoking the view. Option A is incorrect because BEQUEATH CURRENT_USER does not grant DBA privileges. Option C is wrong since it states that the execution privileges are those of the function owner, which is not the case with this clause. Option D inaccurately describes the privileges under which a definer's rights function runs, which is not affected by BEQUEATH CURRENT_USER.