Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is there a way to copy a linked server from SQL 2000 to SQL 2008?

Posted on 2010-09-22
4
Medium Priority
?
532 Views
Last Modified: 2012-05-10
Is there any way to copy a linked server from an instance of SQL 2000 Server to SQL 2008 Server?  I'm having a hard time finding the authentication information for this super-old connection but we do need it, so I'm hoping I can script it out.

If that won't work, is it possible to access a linked server through a linked server?  i.e., if I were to have the SQL 2000 server on there as a linked server, could I then access its linked server?
0
Comment
Question by:valkyrie_nc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Larissa T
ID: 33737569
try to create procedure on server that has old linked server credential, that will perform query you need.
then you can link this server to your new server and call this procedure.
0
 
LVL 70

Accepted Solution

by:
Scott Pletcher earned 2000 total points
ID: 33739473
0
 
LVL 70

Expert Comment

by:Scott Pletcher
ID: 33739500
You could also look at table: sysservers

and at the code for MS procs:
sp_addlinkedserver
sp_addlinkedsrvlogin
They should point you to other system tables if needed :-) .
0
 
LVL 9

Author Closing Comment

by:valkyrie_nc
ID: 33744510
Perfect!  Does exactly what I need.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

664 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question