Which dictionary views track dependencies?

  1. USER_SOURCE

  2. UTL_DEPTREE

  3. USER_OBJECTS

  4. DEPTREE_TEMPTAB


Correct Option: D

AI Explanation

To answer this question, we need to understand the concept of dictionary views and dependency tracking.

Dictionary views in Oracle database provide information about various database objects and their properties. They are read-only views that are created and maintained by the database.

Dependency tracking refers to the ability to determine the dependencies between different database objects. This information is useful when performing tasks such as object recompilation or dropping an object.

Now, let's go through each option to understand which one tracks dependencies:

Option A) USER_SOURCE - This is a dictionary view that provides information about the source code of stored procedures, functions, and packages. It does not track dependencies.

Option B) UTL_DEPTREE - This is not a valid dictionary view in Oracle database. Therefore, it does not track dependencies.

Option C) USER_OBJECTS - This is a dictionary view that provides information about all objects owned by the current user. It does not track dependencies.

Option D) DEPTREE_TEMPTAB - This is the correct option. DEPTREE_TEMPTAB is a dictionary view that tracks dependencies between different database objects. It is used by the UTL_DEPTREE package to store dependency information temporarily.

Therefore, the correct answer is option D) DEPTREE_TEMPTAB. This option is correct because DEPTREE_TEMPTAB is a dictionary view that tracks dependencies between database objects.

Find more quizzes: