E3 Data Dictionary Views: Experimental Objective Experimental Requiremen
E3 Data Dictionary Views: Experimental Objective Experimental Requiremen
Experimental Objective
The students are required to grasp the application of data dictionary of Oracle
Experimental Requiremen
1 Hardware basic Configuration Intel PentiumIIIor above Greater than 512MB
memory
2
3
Software RequirementORACLE 9i
3Hours2h
4 Experiment Report after Experiment
Experimental Preparation
Data dictionary is a important part of oracle,which provides a lot of system information including readonly tables and views. They are all belong to DBA and gernal users can just query their information.
Experimental Details
Group 1 user_tables:
user_tables is used for storing all the table of the current user.
Step: Firstly, you should create a table, then query it in the user_tables.
select * from user_tables;
select table_name from user_tables;
Group 2 all_tables
all_tables is used for storing all the accessible tables by the current
user,including all the tables of the current user themselves and the tables
which can be accessed by the current user.
Step Firstly, user Scottgrant privileges to you to select the table emp, then you query it.
select * from user_tables;
select table_name from user_tables;
Group 3 dba_tables
dba_tables is used for storing all tables of all solutions.
stepQuery all the tables of user Scott by DBA
select * from dba_tables where owner='SCOTT';
Group 4 dba_users is used for storing all information of all users;
select dba_users from dba_tables where owner='SCOTT';
dba_dba_sys_privsis used for storing all system privileges of all users;
select dba_sys_privsis from dba_tables where owner='SCOTT';
Group 5
1How to
select
select
2How to