A synonym is an alternative name for a table, view or another synonym. Synonyms can be created or dropped at any time.
A synonym cannot be created for a function, procedure or a module.
Using synonyms can be a convenient way to address tables that are contained in another schema.
For example, if a view called
customer_detailsis contained in the schema called
mimer_store, the full name of the view is
This view may be referenced from the schema called
mimer_store_bookby its fully qualified name as given above.
Alternatively, a synonym may be created for the view in schema
cust_details. Then the name
cust_detailscan simply be used to refer to the view
Note: The name cust_details is contained in schema mimer_store_book and can only be used in that context.
Mimer Information Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40