SQL Flow Field Guide

DROP SYNONYM

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

removes a synonym

What changes

Input
catalog
Output or change
synonym (alias to another object, possibly remote)

Syntax at a glance

DROP SYNONYM [ IF EXISTS ] [ schema. ] synonym_name

Work example

A synonym is retired after all callers use the new object name.

Search modules, reports, and application queries for the synonym before removal.

Check your work No active caller resolves its target through the synonym.

Open Microsoft Learn for full syntax, permissions, and details for your version.