Partager via


Using Synonyms

A synonym is an alternative name for a schema-scoped object. In SMO, synonyms are represented by the Synonym object. The Synonym object is a child of the Database object. This means that synonyms are valid only within the scope of the database in which they are defined. However, the synonym can refer to objects on another database, or on a remote instance of SQL Server.

The object that is given an alternative name is known as the base object. The name property of the Synonym object is the alternative name given to the base object.

Voir aussi

Autres ressources

Utilisation des synonymes (moteur de base de données)
CREATE SYNONYM (Transact-SQL)
Conception et création de bases de données

Aide et Informations

Assistance sur SQL Server 2005