Solved

SQL Server 2000: == Linked Server, With higher version ==

Posted on 2016-08-18
16
143 Views
Last Modified: 2016-08-26
Hello Folks,

I've SQL Server 2000, I want to have linked server (i.e. SQL Server 2008) on SQL Server 2000.

Does SQL Server 2000 allow to make linked server with higher version?

Best Regards,
Mohit Pandit
0
Comment
Question by:MohitPandit
  • 7
  • 6
  • 2
  • +1
16 Comments
 
LVL 12

Expert Comment

by:funwithdotnet
ID: 41761953
I don't know the answer to your question, however, you probably shouldn't be using SQL Server 2000. SQL Server 2008 supports SQL Server 2000 databases and the linking you want.
0
 
LVL 4

Accepted Solution

by:
Daniel Jones earned 350 total points
ID: 41762028
Yes, SQL Server 2000 allow to make linked server with higher version.

For creating a linked server to SQL Server 2008 R2

1. Right-click Linked Servers under the server's Security node >  choose New Linked Server > name the link "SQL2008R2"
2. Choose  the "SQL Server" as the Server Type, enter servername\instance.
3. Choose "Be made using this security context", and entered in my new SQL Standard Account that exists on the target server only.

Note: Be sure new SQL Standard user has access to the database and table.
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 41762137
Linked servers doesn't care about versions but it requires the client to be installed in the server so it knows how to communicate with the linked server.
With that said you'll need to install SQL Server 2008 native client for SQL Server 2000 be able to create the appropriate linked server. You can download if from MSSQL 2008R2 Feature Pack (In Install Instructions search for sqlncli.msi).
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 5

Author Comment

by:MohitPandit
ID: 41762215
@Vitor, I can't install native client on production server.

@Daniel, I followed your steps. It looks configured but when I clicked on "tables" then it pops up message "Error 17: SQL Server does not exist or access denied"
Should I use "Other data source" as Server Type with different provider?

Best Regards
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 41762223
@Vitor, I can't install native client on production server.
Then you should get someone that can otherwise you won't be able to create the necessary Linked Server.
0
 
LVL 4

Expert Comment

by:Daniel Jones
ID: 41762231
@Daniel, I followed your steps. It looks configured but when I clicked on "tables" then it pops up message "Error 17: SQL Server does not exist or access denied"
take a look at this link, this will show you the potential causes of the "SQL Server does not exist or access denied" error message: https://support.microsoft.com/en-us/kb/328306
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 41762236
The error occurs because your SQL Server 2000 instance doesn't know how to contact a SQL Server 2008 instance. That's why you need MSSQL 2008 SNAC.
0
 
LVL 5

Author Comment

by:MohitPandit
ID: 41762328
Hi Vitor - Thanks for your comment.
But I have other instance of SQL 2008 R2 and I tried to connect linked server of SQL 2014.
It works.

I believe that similar 2000 & 2008 R2 should connect through linked server. Do you have other thoughts?

Best Regards
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 41762335
But I have other instance of SQL 2008 R2 and I tried to connect linked server of SQL 2014.
 It works.
SQL Server 2014 is higher that 2008R2 so it should knows how to connect to a previous version. The opposite might not work.

NOTE: In year 2000 Microsoft's developers wouldn't know that it would exist a SQL Server 2008 version in the future and which protocols it will use, right?
0
 
LVL 5

Author Comment

by:MohitPandit
ID: 41764020
@Vitor, I got access for SQL 2012 on same network where SQL 2000.

I tried to create linked server for SQL 2012 from SQL 2000. I got access all tables & data.

I believe that similar will be happen with SQL 2008 R2.

Thoughts?
0
 
LVL 47

Expert Comment

by:Vitor Montalvão
ID: 41764906
Yes, I'm expecting that a newer version of SQL Server will be able to connect to older versions without problem.
What for you need the Linked Server? i.e. it's something that can be done in the SQL Server 2008R2 side?
0
 
LVL 5

Author Comment

by:MohitPandit
ID: 41765502
Actually, earlier you were strongly recommended for native client download.
This is the reason, I wanted to inform you that I was able to successful linked server between SQL 2000 vs. 2012.

Best Regards
0
 
LVL 47

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 150 total points
ID: 41766432
Oh, I misread your comment then. So you're always able to install the native client on production server. :)

So, now that you have the Linked Server created (your main question issue) what do you need more?
0
 
LVL 5

Author Comment

by:MohitPandit
ID: 41768033
Okay, thanks. I'll access of SQL 2008 R2. Once, It's done then I'll close this thread.
0
 
LVL 5

Author Comment

by:MohitPandit
ID: 41772568
I got access SQL 2008 R2 and it was straight to create Linked server.
0
 
LVL 5

Author Closing Comment

by:MohitPandit
ID: 41772569
Thanks
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

803 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