Professional Documents
Culture Documents
CONSTRAINTS
• Detail of constraints can be obtained from the table
user_constraints
• If constraints name is not declared dbms provide a
name of it's own
REMOVING A TABLE
z
Example:
Drop table classmaster2;
z CHANGING TABLE DEFINITION
Ø Drop a column.
DROPPING A COLUMN
Table altered
z
CREATING/DROPPING ALIAS
OR SYNONYMS
Ø A synonym or alias is a name defined by the user
that stands as a name of a people on the table
Ø Create synonym employee for emp;
synonym created
Ø Drop synonym employee:
synonym dropped
INDEXES
z
TYPE OF INDEXES
§ Normal
§ Function based
§ B-tree
§ Hash
§ Bit map
z
DATA BASE STRUCTURE
Ø Multi-database architecture
Ø Multi-location architecture
§ Database on a network
§ Database associated with named servers on a network
§ Within one servers db's in different name
§ Mapping of server names to physical server locations done by
network software
§ Mapping of db namesto physical files on a server done by
dbms.
z
z THANKS!