Solved

Linking a DB in SQL 2000

Posted on 2006-06-13
6
741 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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…

785 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