CREATE SYNONYM
defines a synonym
What changes
- Input
- catalog
- Output or change
- synonym (alias to another object, possibly remote)
Syntax at a glance
CREATE SYNONYM [ schema_name_1. ] synonym_name FOR <object>
Work example
A stable local name must point to a changing database object location.
Review the four-part target, dependency ownership, deployment order, and name-resolution behavior.
Check your work The synonym resolves to the intended target in every deployment environment.
Open Microsoft Learn for full syntax, permissions, and details for your version.