Create a DB alias using T-SQL in SQL Server 2005
I am trying to create a Database alias for many of the DBs. I wonder i开发者_如何转开发f there is a T-sql that can let me do it. I have not found anything about this.
Thx.
I don't think so. SQL2005 introduced synonyms but these can't be used as database aliases.
精彩评论