|Oracle® Database SQL Reference
10g Release 1 (10.1)
Part Number B10759-01
See Also:CREATE SYNONYM for more information on synonyms
You must specify
PUBLIC to drop a public synonym. You cannot specify
schema if you have specified
Specify the schema containing the synonym. If you omit
schema, then Oracle Database assumes the synonym is in your own schema.
Specify the name of the synonym to be dropped.
If you drop a synonym for the master table of a materialized view, and if the defining query of the materialized view specified the synonym rather than the actual table name, then Oracle Database marks the materialized view unusable.
If an object type synonym has any dependent tables or user-defined types, then you cannot drop the synonym unless you also specify
FORCE to drop the synonym even if it has dependent tables or user-defined types.
Caution:Oracle does not recommend that you specify
To drop the public synonym named
customers, which was created in "Oracle Database Resolution of Synonyms: Example", issue the following statement:
DROP PUBLIC SYNONYM customers;