Solved

Linking a DB in SQL 2000

Posted on 2006-06-13
6
724 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
Comment Utility
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
Comment Utility
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
Comment Utility
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.
Comment Utility
No objections.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

763 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

9 Experts available now in Live!

Get 1:1 Help Now