SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Other SQL Server 2012 Topics
 How to create a SQL Server link server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jaide smith
Starting Member

1 Posts

Posted - 01/19/2013 :  07:36:01  Show Profile  Reply with Quote
If select SQL linked server in the GUI you can't specify a different name for the SQL Server. You can only use the SQL host name as the Link Server name.

Here is an example of creating a Linked Server via script to specify link server name myGX620 for the SQL Server host name GX620.

/****** Object: LinkedServer [myGX620] Script Date: 04/07/2009 22:49:10 ******/

EXEC master.dbo.sp_addlinkedserver

@server = N'myGX620',




EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'myGX620',


Internet Marketing Auckland | Web Design Auckland

Posting Yak Master

160 Posts

Posted - 02/06/2013 :  00:12:56  Show Profile  Reply with Quote
Hi Smith,

What is expected from users related to link server? You have provided solution related to link server.

Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 02/06/2013 :  01:42:40  Show Profile  Reply with Quote
see the steps involved


SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000