| 個人檔案SQL Server 2005 blogs部落格清單 | 說明 |
|
7月6日 Using SQL SERVER 2005 SynonymsSynonyms
Synonyms are words with the same meaning. In SQL server 2005 synonyms works like a permanent alias.
Microsoft SQL Server 2005 introduces the concept of a synonym. A synonym is an alternative name for a schema-scoped object. Client applications can use a single-part name to reference a base object by using a synonym instead of using a two-part, three-part, or four-part name to reference the base object. A synonym is a database object that serves the following purposes:
Something to do:
1. Create a table with a very long name
2. insert some thing in the table
3. Use select statement on the table with the long name
Select * from [dbo].[myverylonglonglonglongtablename]
4. create and use the synonyms
回應 (1)
引用通告此內容的引用通告是: http://joeydjs-sql2k5.spaces.live.com/blog/cns!418E3F917301E76D!145.trak 引述這則內容的部落格
|
|
|