DROP SYNONYM is used to delete a synonym object.
Only a synonym owner or a system administrator can run the DROP SYNONYM command.
1 | DROP SYNONYM [ IF EXISTS ] synonym_name [ CASCADE | RESTRICT ]; |
Send a notice instead of reporting an error if the specified synonym does not exist.
Name of a synonym (optionally with schema names)
Delete a synonym.
1 2 | DROP SYNONYM t1; DROP SCHEMA ot CASCADE; |