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_details is contained in the schema called mimer_store, the full name of the view is mimer_store.customer_details.
This view may be referenced from the schema called mimer_store_book by its fully qualified name as given above.
Alternatively, a synonym may be created for the view in schema mimer_store_book, e.g. cust_details. Then the name cust_details can simply be used to refer to the view mimer_store.customer_details.
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