I posted this at SqlServer-programming group, but got no responses.
We have two servers, one MS SQL Server, the other Oracle. Sometimes
I
need to get data from oracle in the MyDatabase catalog, bring it to
MSSql, and join it to other tables and proceed from there. I would
like to use LInked Servers instead.
I did the following:
exec sp_AddLinkedServer
'ORACLE'
, 'MyDatabase'
, 'MSDAORA'
, 'x.x.x.x'
Of course, "x.x.x.x" was actually the IP address of the server.
"ORACLE" appears in my Lilnked Servers list in SSMS, but I can't view
any of the tables because "The OLD EB Provider MSDAORA has not been
registered."
Am I doing the right thing in the SQL Statement?
If so, how do I register the provider? 4 4444
Dom (do********@gmail.com) writes:
I posted this at SqlServer-programming group, but got no responses.
We have two servers, one MS SQL Server, the other Oracle. Sometimes I
need to get data from oracle in the MyDatabase catalog, bring it to
MSSql, and join it to other tables and proceed from there. I would like
to use LInked Servers instead.
I did the following:
exec sp_AddLinkedServer
'ORACLE'
, 'MyDatabase'
, 'MSDAORA'
, 'x.x.x.x'
Of course, "x.x.x.x" was actually the IP address of the server.
"ORACLE" appears in my Lilnked Servers list in SSMS, but I can't view
any of the tables because "The OLD EB Provider MSDAORA has not been
registered."
Funny, since MSDAORA is part of Windows, it should be there.
Then again, which version of Oracle do you use? MSDAORA is old and
dusty, and is good for Oracle 8, and maybe Oracle 9. For later versions,
you should definitely use Oracle's own provider.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx
On Oct 31, 5:31*pm, Erland Sommarskog <esq...@sommarskog.sewrote:
Dom (dolivas...@gmail.com) writes:
I posted this at SqlServer-programming group, but got no responses.
We have two servers, one MS SQL Server, the other Oracle. *Sometimes I
need to get data from oracle in the MyDatabase catalog, bring it to
MSSql, and join it to other tables and proceed from there. *I would like
to use LInked Servers instead.
I did the following:
exec sp_AddLinkedServer
* * * * 'ORACLE'
* * * * , 'MyDatabase'
* * * * , 'MSDAORA'
* * * * , 'x.x.x.x'
Of course, "x.x.x.x" was actually the IP address of the server.
"ORACLE" appears in my Lilnked Servers list in SSMS, but I can't view
any of the tables because "The OLD EB Provider MSDAORA has not been
registered."
Funny, since MSDAORA is part of Windows, it should be there.
Then again, which version of Oracle do you use? MSDAORA is old and
dusty, and is good for Oracle 8, and maybe Oracle 9. For later versions,
you should definitely use Oracle's own provider.
--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
Links for SQL Server Books Online:
SQL 2008:http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005:http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:http://www.microsoft.com/sql/prodinf...ns/books.mspx- Hide quoted text -
- Show quoted text -
Thanks for the reply, Erland, but can you expand a little. I'm using
Oracle 10g. When I look at my list of providers, I see only seven of
them, most start with "MS" so I assume they are not Oracle's native
driver. What is the driver I should be using, and how do I register
it?
Dom (do********@gmail.com) writes:
Thanks for the reply, Erland, but can you expand a little. I'm using
Oracle 10g. When I look at my list of providers, I see only seven of
them, most start with "MS" so I assume they are not Oracle's native
driver. What is the driver I should be using, and how do I register
it?
If you are using Oracle 10g, you should not use MSDAORA. You need to
get hold of Oracle's OLE DB provider. As for how you do it, I have no
idea. I would kind of expect Oracle to have it available as a free download,
but who knows, maybe you have to pay for it.
I know at least one Oracle person who monitors this group, but you may
be better off asking in comp.databases.oracle about their provider. Or
just Google around...
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx
In article <Xn********************@127.0.0.1>, Erland Sommarskog says...
Dom (do********@gmail.com) writes:
Thanks for the reply, Erland, but can you expand a little. I'm using
Oracle 10g. When I look at my list of providers, I see only seven of
them, most start with "MS" so I assume they are not Oracle's native
driver. What is the driver I should be using, and how do I register
it?
If you are using Oracle 10g, you should not use MSDAORA. You need to
get hold of Oracle's OLE DB provider. As for how you do it, I have no
idea. I would kind of expect Oracle to have it available as a free download,
but who knows, maybe you have to pay for it.
I know at least one Oracle person who monitors this group, but you may
be better off asking in comp.databases.oracle about their provider. Or
just Google around...
http://www.oracle.com/technology/sof..._db/index.html
GM This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Hank |
last post by:
I have two SQL Server 2000 machines (server_A and server_B). I've
used sp_addlinkedserver to link them both, the link seems to behave
fine. I can execute remote queries and do all types of neat...
|
by: Raghuraman |
last post by:
Hi,
I was thinking abt linked servers deals only with multiple servers
physically inter-connected.
Now i come accross that we can link our non-sqlserver databases also.
It is thru the...
|
by: Bernie |
last post by:
Greetings,
I have 3 servers all running SQL Server 2000 - 8.00.818. Lets call
them parent, child1, and child 2.
On parent, I create a view called item as follows:
CREATE view Item as...
|
by: BoB Teijema |
last post by:
Hi all,
One of our companies is having problems with a query on a linked server.
They have two servers, serverA and serverB. On serverA they have set up a
linked server to serverB.
Query:...
|
by: TBlair |
last post by:
I am about to start working on a project where I would be required to
dynamically create linked servers during the execution of an
application. One of the requirements is for the Link Servers to be...
|
by: Ootyguy |
last post by:
Trying to do this all day and googling for answers but found none, hope
someone can help. Thanks in advance.
select * into
OPENROWSET('SQLOLEDB','SERVER';'uid';'pwd',##test)
from LocalTable
...
|
by: RandyMartin |
last post by:
<<cross posted from microsoft.public.sqlserver.server>>
Environment: Windows 2003 Standard Edition SP1, SQL 2005 EE RTM (both
servers)
I am getting the following messages when I run this...
|
by: MrByte |
last post by:
Hi Folks,
I'm having a strange situation here between 2 Linked MS SQL 2K servers.
One of the servers died recently and I rebuilt it.
All seems to be working fine, except that when I create...
|
by: cybertoast |
last post by:
(Config: SQLServer2005, MySQL5.0 and MySQL4.0 all running on
Windows2003 server)
I've created linked servers to my MySQL servers from SQL server, and
had no problem for several months. I was using...
|
by: Abyss7 |
last post by:
Hi,
I hope there is someone out there who can help me. I have a MSSQL 2005 server with multiple linked server used for data extraction from other DB's. My problem is I want to be able to start the...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |