I need to create a SQL View to query data on another SQL Server. This link explains how to do it: http://www.mytecbits.com/microsoft/sql-server/joining-tables-different-servers
However I cannot work out how to set up the parameters for the execution of the system stored procedures. When I run this;
USE [master]
GO
EXEC master.dbo.sp_addlinkedserver @server = N'LIVESQL', @srvproduct=N'SQL Server' ;
GO
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname = N'LIVESQL', @locallogin = 'person', @rmtuser='person', @rmtpassword='password', @useself = N'True' ;
GO
I get a message saying;
Msg 15028, Level 16, State 1, Procedure sp_addlinkedserver, Line 82 The server 'LIVESQL' already exists.
How do I fix this?