Re: Linked Servers



Dom (dolivastro@xxxxxxxxx) 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, esquel@xxxxxxxxxxxxx

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/prodinfo/previousversions/books.mspx

.



Relevant Pages

  • RE: ODBC to Oracle 64bit missing rows
    ... the set of Oracle queries that I'm running ... through the linked server right now haven't given me that error.... ... I'm trucking on with 64-bit & Oracle's OLE DB drivers. ... I am on SQL Server 2005, ...
    (microsoft.public.sqlserver.connect)
  • Oracle Connectivity Issue
    ... I've worked at sites with this configuration (SQL 2000 with an Oracle ... linked server) before with success. ... Now i am going to install sql server clustering, ... server,through linked server transfering data. ...
    (microsoft.public.sqlserver.clustering)
  • Re: Oracle linked server error
    ... Set Up and Troubleshoot a Linked Server to Oracle in SQL Server ...
    (microsoft.public.sqlserver.connect)
  • Re: Update / Insert Table throught DTS
    ... If you can't then you could create an Oracle linked server from your SQL ... Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) ... > I have source data in Oracle database and the destination in MS Sql server ...
    (microsoft.public.sqlserver.dts)
  • Re: Linking Oracle DB to SQL DB
    ... provider 'MSDAORA' reported an error. ... Set Up and Troubleshoot a Linked Server to Oracle ... >>database to a SQL Server. ... >>connectivity and locking problems. ...
    (microsoft.public.sqlserver.security)