Search code examples
sqlsql-serversql-server-2008

How to access my database from another server


DB: SQL Server 2008

I have two servers A and B. I want to able to insert data from server A into server B using a particular user. What is the syntax for doing that?


Solution

  • You can use sp_addlinkedserver and sp_addlinkedsrvlogin.