Salesforce

How Do I Set Up a Linked Server? (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Set Up a Linked Server? (Magic xpi 4.13)

A linked server enables the SQL Server Database Engine to execute commands against OLE DB data sources outside of the instance of SQL Server, thereby allowing access to multiple sources of data from within one server connection.

To create a linked server to another instance of SQL server follow the steps given below.

  1. Log-in to the SQL Server Management Studio (SSMS).

  2. Under the Object Explorer component, expand the Server Objects menu and right click on the Linked Servers. Select the New Linked Server… option from the expanded menu to create a new server link. This will open a New Linked Server window.

  3. Park on the General page. In the Linked Server field, enter the server name that is to be connected.

  4. Under the Server Type select the SQL Server radio button.

  5. Park on the Security page and click the Add button to create login mapping, where the Local Login is the DB User Name mentioned in the Sap B1 resource. Mention the Remote User with a login name that has appropriate permissions on the remote server mentioned above. Enter the Remote Password which is the password to authenticate the Remote User.

  6. Optionally, to view or specify server options, park on the Server Options page.

  7. Click OK to save the configuration. The remote login to the linked server is verified before the entry is saved.

  8. Once the Linked Server is successfully created validate by running a sample query against it.

A Linked Server can also be created using Transact-SQL.

For more information check the following link:

https://docs.microsoft.com/en-us/sql/relational-databases/linked-servers/create-linked-servers-sql-server-database-engine?view=sql-server-2017

Reference
Attachment 
Attachment