KöpBuy
1-855-856-7678
SupportSupport
Creates a synonym, which is an alternative name for a table, view, or other database object.
Syntax Conventions (Windows Azure SQL Database)
CREATE SYNONYM [ schema_name_1. ] synonym_name FOR < object >< object > :: =
{
[database_name. [ schema_name_2 ].| schema_name_2. ] object_name
}
This syntax diagram demonstrates the supported arguments and function types in Microsoft Windows Azure SQL Database.
Note |
|---|
| Windows Azure SQL Database supports the three-part name format database_name.[schema_name].object_name when the database_name is the current database or the database_name is tempdb and the object_name starts with #. Windows Azure SQL Database does not support four-part names. |
For more information about the arguments and the CREATE SYNONYM statement, see CREATE SYNONYM (Transact-SQL) in SQL Server Books Online.