| Oracle8i SQL Reference Release 3 (8.1.7) Part Number A85397-01 |
|
SQL Statements:
DROP SEQUENCE to UPDATE, 3 of 27
Use the DROP SYNONYM statement to remove a synonym from the database, or to change the definition of a synonym by dropping and re-creating it.
To drop a private synonym, either the synonym must be in your own schema or you must have the DROP ANY SYNONYM system privilege.
To drop a PUBLIC synonym, you must have the DROP PUBLIC SYNONYM system privilege.
PUBLIC
You must specify PUBLIC to drop a public synonym. You cannot specify schema if you have specified PUBLIC.
schema
Specify the schema containing the synonym. If you omit schema, Oracle assumes the synonym is in your own schema.
synonym
Specify the name of the synonym to be dropped.
If you drop a synonym for a materialized view, or its containing table or snapshot, or any of its dependent tables, the materialized view will be invalidated.
DROP SYNONYM Example
To drop a synonym named market, issue the following statement:
DROP SYNONYM market;
|
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|