PLSQL 9 3 Practice

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Database Programming with PL/SQL

9-3: Review of the Data Dictionary


Practice Activities
Vocabulary
Identify the vocabulary word for each definition below:

Contain information about everything in the database, no matter


who owns them.
Contain information about objects which you have privileges to
use.
A catalog of all database objects contained in an Oracle
database.

Contain information about objects you own.

Try It / Solve It
1. Which of the following statements are true:
A) The Data Dictionary is a list of hard coded table names in all Oracle databases.
B) The Data Dictionary can be updated by all users with Select statements.
C) All users of an Oracle Database can see details of all tables in that database.
D) The Data Dictionary is owned by the user called SYS.

2. List the three different classes of Data Dictionary views, and state what kind of information is
shown by each class.

3. Write and execute a SELECT statement that lists all the stored objects you have created in your
account so far. The query should return the object name, its type, and its status. Order the output
by type of object.

4. Modify the query from question 3 to show only functions and procedures to which you have
access. Add the owner of the object to display in the results.

5. What is DICT and why is it useful?

Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
6. Write and execute a suitable SELECT…FROM DICT… statement to list dictionary views which
contain information about all views which you own.

Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

You might also like