Académique Documents
Professionnel Documents
Culture Documents
Lopez
ICT 2A1
Indexes are used to retrieve data from the database very fast. The users cannot
see the indexes, they are just used to speed up searches/queries.
What is an INDEX?
Example of INDEX
Composite Index
Confirming indexes
SELECT
o Ic.index_name,ic.column_name,ic.column_position
col_pos,ix.uniqueness
FROM user _indexes ix, user_ind_columns ic
WHERE ic.Index_name = ix.index_name AND ic.table_name –
‘EMPLOYEES’;
Removing an index
A synonym is an alternative name for objects such as tables, views, sequences, stored
procedures, and other database objects. You generally use synonyms when you are
granting access to an object from another schema and you don't want the users to have to
worry about knowing which schema owns the object.
Example of synonym
Remove synonym