Solved

Linking a DB in SQL 2000

Posted on 2006-06-13
6
735 Views
Last Modified: 2012-06-22
I am migrating our SQL 2000 databases over to new hardware bceause the old server is dying.  I just used the backup/restore feature and moved the "non built in" databases without a hitch.

We have a custom app used on handhelds in our warehouse that uses a SQL backend, which also accesses information from our inventory management software, which runs on an Oracle database.

The old server's master db had a second line in the sysserver table that, from what I can tell, is a link to the oracle database.  We're getting errors when we try to connect on some things (run sp_addlinkedserver to add server to sysservers) so I'm wondering what I need to do?

Did I make any sense at all?  All I can find from google seaching sp_addlinkedserver is that it appears to be t-sql.  Is the only way to accomplish this by using the tsql commands, or is there a way to do it in enterprise manager?

Thanks
Neal
0
Comment
Question by:NKC_USER
  • 2
  • 2
6 Comments
 
LVL 25

Expert Comment

by:jrb1
ID: 16895391
You need to install the Oracle Client on the new hardware.
Make sure you can connect to Oracle through SQL*Plus.

Then you can create a link through sp_addlinkedserver (or through Enterprise Manager)
0
 
LVL 25

Accepted Solution

by:
jrb1 earned 250 total points
ID: 16895419
Here's some documentation that mentions the connection from sp_addlinkedserver to Oracle:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_sp_adda_8gqa.asp
0
 
LVL 38

Assisted Solution

by:Jim P.
Jim P. earned 250 total points
ID: 16895587
In the EM go to your <servername> --> Security --> Linked Servers and Right-click --> New linked server.

Of course as jrb1 said the server will need the oracle client.
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 17240963
No objections.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

864 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now