RE: Cannot create linked server from SQL 2005 to SQL 2000
- From: LenaMsdn08 <LenaMsdn08@xxxxxxxxxxxxxxxx>
- Date: Sun, 10 Aug 2008 10:44:00 -0700
"Erland Sommarskog" wrote:
Rather than using the GUI and trying to guess what things mean, it may be
better to use sp_addlinkedserver and sp_addlinkedsrvlogin directly.
I am not going to say that I know from the top of my head how you would
set up the logins, but it would take some trial and errors. And study of
Books Online of course.
Another advantage is that you get a script that you can save and reuse
in a similar situation later.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Erland,
Good advice on using the stored procedures - they were easier to use, and
come with much better documentation in BOL. Instead of using SSMS, I was able
to use sys.servers, sys.linked_logins, sys.remote_logins and sys.sql_logins
to view the current settings. (I'm sure there is more to it than that, of
course.)
Btw, it's a small world - I think I was a student at LTH at the same time
you were. Thank you for your SQL articles on sommarskog.se, they have helped
me out on many occasions!
Lena
.
- Follow-Ups:
- RE: Cannot create linked server from SQL 2005 to SQL 2000
- From: Erland Sommarskog
- RE: Cannot create linked server from SQL 2005 to SQL 2000
- References:
- RE: Cannot create linked server from SQL 2005 to SQL 2000
- From: "Charles Wang [MSFT]"
- RE: Cannot create linked server from SQL 2005 to SQL 2000
- From: LenaMsdn08
- RE: Cannot create linked server from SQL 2005 to SQL 2000
- From: Erland Sommarskog
- RE: Cannot create linked server from SQL 2005 to SQL 2000
- Prev by Date: Jobs, Interview Questions, Certification, Knowledge
- Next by Date: RE: Cannot create linked server from SQL 2005 to SQL 2000
- Previous by thread: RE: Cannot create linked server from SQL 2005 to SQL 2000
- Next by thread: RE: Cannot create linked server from SQL 2005 to SQL 2000
- Index(es):
Relevant Pages
|