Which object privileges can be granted on a VIEW?

  1. DELETE,INSERT,SELECT

  2. ALTER,DELETE,INSERT,SELECT

  3. DELETE,INSERT,SELECT,UPDATE

  4. none


Correct Option: C

AI Explanation

To answer this question, you need to understand the concept of object privileges and how they apply to views.

In Oracle, object privileges are used to control access to database objects such as tables, views, and procedures. These privileges determine what operations can be performed on the objects, such as selecting, inserting, updating, or deleting data.

When it comes to views, the privileges that can be granted are typically limited to SELECT, INSERT, UPDATE, and DELETE. These privileges determine the operations that can be performed on the underlying tables through the view.

Let's go through each option to understand why it is correct or incorrect:

Option A) DELETE, INSERT, SELECT - This option is incorrect because it does not include the UPDATE privilege, which is one of the privileges that can be granted on a view.

Option B) ALTER, DELETE, INSERT, SELECT - This option is incorrect because the ALTER privilege is not typically granted on views. The ALTER privilege is used to modify the structure of an object, such as adding or dropping columns, which is not applicable to views.

Option C) DELETE, INSERT, SELECT, UPDATE - This option is correct because it includes all the privileges that can be granted on a view. The DELETE, INSERT, SELECT, and UPDATE privileges allow the user to perform the corresponding operations on the underlying tables through the view.

Option D) none - This option is incorrect because it states that no privileges can be granted on a view, which is not true. As mentioned earlier, SELECT, INSERT, UPDATE, and DELETE privileges can be granted on a view.

Therefore, the correct answer is Option C. This option is correct because it includes all the privileges that can be granted on a view.

Find more quizzes: