How does one define an alias to SQL Server ?

  • I need to create an alias for my development SQL Server so that linked server references to databases on it can remain constant when they migrate to a production server.

    BOL suggests that it is simply a case of going to the Connections tab of the SQL Agent Properties and looking in the Local Host Server list but this is currently greyed out.

    So far I have found no other way to open up this option.

  • Have a look at the system stored procedure sp_setnetname.

    This should do what you want.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply