Solved

Linking a DB in SQL 2000

Posted on 2006-06-13
6
755 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
[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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL syntax question 6 72
Error 438 6 52
SharePoint 2013 Search not working 9 70
databases from multiple applications - same instance 6 39
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…

734 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