O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding, Dropping, and Configuring Linked Servers

The next few sections show how to add, drop, and configure linked servers through system stored procedures. All these configuration options can also be done very easily with SQL Server Management Studio. The following sections occasionally describe that capability but focus on the SQL commands method because you will usually use this method in real-life production systems. But before we look at an example of a local server connecting to a linked server, let’s first set up a database in another SQL Server instance that will be the target of our linked server examples, create a sample table, and create a stored procedure to execute on the linked server. You can grab the CustomersPlusSQLTable.sql ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required