DbObjects Lecture
DbObjects Lecture
Object Description
EMPLOYEES table
To provide To present
data different views of
independence the same data
DESCRIBE empvu80
SELECT *
FROM salvu50;
Object Description
A sequence:
• Can automatically generate unique numbers
• Is a sharable object
• Can be used to create a primary key value
• Replaces application code
• Speeds up the efficiency of accessing sequence
values when cached in memory
2 4 6 8 10
1 3 5 7 9
Object Description
An index:
• Is a schema object
• Is used by the Oracle server to speed up the
retrieval of rows by using a pointer
• Can reduce disk I/O by using a rapid path access
method to locate data quickly
• Is independent of the table that it indexes
• Is used and maintained automatically by the
Oracle server
Object Description
• Drop a synonym:
DROP SYNONYM d_sum;
Synonym dropped.