SqlShare.com Logo
 
Skip Navigation Links
Home
Video List
Events
Classes
About Us
Login / Register
Subscribe RSS Feed 

Confio Ignite 8

Creating and Using Linked Servers

In this video Andy Warren demonstrates how to create and use a linked server to access remote data. It's a useful technique and often a lot easier than importing or replicating the data to the local server.

Duration:
4 mins 59 secs
Skill Level:
100
Rating:
4.37 out of 5
Publish Date:
September 26, 2009
Creating and Using Linked Servers You must be logged in to view this video.  
Bookmark and Share
 
1=Poor, 3=Good, 5=Excellent

About the Author

Image of Andy Warren
Andy Warren is a software trainer focusing on SQL Server, a member of the PASS Board of Directors, and a principal in this site - SQLShare.com.

References

There are no downloads or recommended reading links for this video

Comments
Chandan Verma on 9/29/2009
Really Helpful

Carrie on 9/29/2009
A good look at how to use LinkedServers

Philip Hickey on 9/29/2009
Very comprehensive

Sara Karasik on 9/29/2009
somewhat basic.

Dennis Allen on 9/29/2009
I would like some examples using other data sources. Oracle, Excel, csv and so on.

Ralph Schwehr on 9/29/2009
I would have liked to see a longer discussion on security options for the linked server connection.

Shanon Bailey on 9/29/2009
Would like to see how to connect to a linked server that is not a SQL Server db.

FELIX on 9/29/2009
Too short but excellent information on Linked Servers

Tonci on 9/29/2009
Great explanation about rpc out and not showing password in generating sql script for a linked server. Thank you.

Mitch Summerlin on 9/29/2009
Very simple and very nice

Ann on 9/30/2009
awesome!!!! thank you very much for this vdo.

Matt McGhee on 9/30/2009
Really had no idea before this what linked servers were, or what I might use it for. Great intro!

rajani on 9/30/2009
good

Need a discussion of the issues of impersonation.

Trevor Stumpf on 10/2/2009
How about other data sources such as mysql. I would like to see that.

Chandan on 10/2/2009
v good

WChaster on 10/15/2009
This certainly makes me want to see more of what can be done.

Todd on 10/15/2009
well done

Wenda Stephens on 10/16/2009
This helped with the Security tab. Helped us with setting up an user name and password outside of the provider string. Wish you had examples of setting up a Linked Server using the OLE DB provider for ODBC.

John on 10/23/2009
succinct and very helpful!

Peter Voutov on 12/1/2009
It would have been good to explain what the other RPC option is used for.

Sandip on 12/21/2009
Thanks.Not aware of the execute as option.

saeed on 1/14/2010
I enjoy the short topic specific videos, it really helps me as a student of MS SQL Server 2008. Thank you,

Ranjith on 1/22/2010
Short and Nice Video

Bob H on 2/2/2010
Very easy to understand. Thanks.

Ed Svastits on 2/8/2010
Very nice. It would be helpful to mention that certain commands, like TRUNCATE TABLE, can't be used as-is on linked servers and need to be embedded in a EXECUTE AS ('<command>') AT [<linked-server-name>] command.

keyun on 2/20/2010
Would like to see Demo on how to schedule SP via SQL Server Job Agent where SP use linked Server queries.

John Langston on 3/17/2010
Good basic intro

dtvam on 7/27/2010
Good one to configure linked server

Corrin Lakeland on 10/9/2010
Would've liked to see a connection to a non SQL Server DB, otherwise great. Maybe a follow-up some time

borjonx on 10/11/2010
good clear speaker, good detail descriptions too

FD928096BE on 10/14/2010
Good Stuff!

AQ on 10/19/2010
Awesome thanx

Don Gilman on 10/19/2010
NowI know

Robert Bishop on 11/4/2010
good job. made sense!

Russell Todd on 11/5/2010
should have linked to something else besides another sql server

FELIX on 11/15/2010
Excellent Video!

FELIX on 11/15/2010
Excellent Video!

A8A92DF274 on 11/22/2010
It would be nice to have the example use a server instance.

Tina on 11/30/2010
Thank you!

Linked server name may be an alias, previously defined on the local server with SQL Server Configuration Manager. For queries with joins over two servers you may need the following steps. First verify the "Distribute Transaction Coordinator" Service is running on both database server computer and client computers. 1. Go to "Administrative Tools > Services". 2. Start the "Distribute Transaction Coordinator" Service if it is not running. It should be started automatically. Allow Remote Clients 1. Go to "Administrative Tools > Component Services" 2. On the left navigation tree, go to "Component Services > Computers> My Computer" (You may need to double click and wait as some nodes need time to expand) 3. Right click on "My Computer", select "Properties" 4. Select "MSDTC" tab 5. Click "Security Configuration" 6. Make sure you check "Network DTC Access", "Allow Remote Client", "Allow Inbound/Outbound", "Enable TIP". 7. The MSDTC service will restart.

Nicky on 12/2/2010
wasn't sure what rpc was when you were enabling it. Maybe I missed the definition. I'll go look it up :) Thanks

balaji on 12/3/2010
good

Tom Hamilton on 12/8/2010
Excellent

Mr Welcome on 12/30/2010
good

Steve Culshaw on 1/4/2011
Excellent run through ... does it work across versions and editions, e.g. could say a SQL Express 2008 R2 link to a SQL Enterprise 2005 ?

MarisU on 2/9/2011
Excellent video, but how can one get the script used in the video?

Edward on 2/10/2011
excellente!

MohanD on 2/25/2011
Good.

Les Weaving on 9/23/2011
Just what I was looking for! Thanks.

Robert McCormick on 10/17/2011
I would have liked to have seen information about other features of the remote server setup: 1) using a domain login, 2) using the Impersonate option, 3) info about needing account delegation turned on in Active Directory to utilize the "be made using the login's current security context."

Steven Robinson on 1/27/2012
Great Overview of linked servers

Chad Segur on 2/5/2012
Great concise explanation.

aasim abdullah on 2/14/2012
To the point

Jim Stofer on 2/14/2012
Very useful

Mark on 2/14/2012
Need more Video to connect to files and other objects

Dustin Dorsey on 2/14/2012
Good demonstration, but it sounded like the narrator was eating food while talking

Jim on 2/14/2012
The major problem most folks have with linked servers is always security issues. You could more than likely create a video that would address these issues in more detail.

Ron Taylor on 2/14/2012
Very helpful and timely!

Robert McCormick on 2/14/2012
I wish you would have given an example using the option "Be made using the login's current security context." Especially in terms of Kerberos Security.

Richard Scott on 2/14/2012
More mystery removed!

vidya on 2/15/2012
Want to know some more exapmles

Jonathan Cohen on 2/15/2012
Andy is alaway very good

Matthew Fiedler on 2/15/2012
Would have liked to seen a linked table to another data source, like Oracle, for example.

reginajosephine on 2/16/2012
I would like to see a video on linking other types of servers such as DB2.

Lazaro Fernandez on 2/23/2012
Awesome! Actually learned a few things I did not know.... Great work!

nadia on 4/5/2012
perfect!!!!

Harit Patel on 4/20/2012
Very nice video, but we need more detail video to understand everything about Linked Server.

Bill Wu on 7/11/2012
like to have more detail about security settings



Must Be Logged In
 

How Do I Become a Video Author? |  Newsletter History

Copyright © Fourdeuce, Inc., 2005-2009. All Rights Reserved | Privacy Policy | Terms & Conditions