Solved

ODBC driver ORAHOME92 and WINDOWS 2008 R2

Posted on 2011-02-26
5
3,345 Views
Last Modified: 2013-09-23
Hello !

I have 2 boxes :

a) Windows 2008 R2 with SQL Server Standard Edition 2008 R2 RTM (64bits)
b) Windows 2000 Sp4 with Orahome92 (32 bits)

I have to create a link server in a) to b).

I'm a dba in sqlserver but newbee in oracle.

Where to download the :

a) Client drivers for oracle b) to install in a)
b) Detailed step by step.

Best regards,

Miguel Gavinhos
 
 

0
Comment
Question by:migav
5 Comments
 
LVL 4

Expert Comment

by:MarioAlcaide
Comment Utility
Hello Miguel,

a) You can download ODBC for W2008r2 here:
http://www.oracle.com/technetwork/indexes/downloads/index.html
0
 
LVL 68

Accepted Solution

by:
Qlemo earned 500 total points
Comment Utility
Go to http://www.oracle.com/technetwork/topics/winx64soft-089540.html and download
*Instant Client Package - Basic Lite
*Instant Client Package - ODBC
Install that as suggested on your MSSQL server. (It's the Ora 11.2 Instant Client, but that is compatible with Ora 9.2 Server).

Or download and install the fat client instead from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
(the file link is http://download.oracle.com/otn/nt/oracle11g/112010/win64_11gR2_client.zip).

If asked for configuring network services, just let the default install run.


After having installed either Oracle client, you need to create a database link in MSSQL.
Go into SSMS
open a connection to MSSQL
in Linked Servers, create a New Linked Server.
choose a name
select Provider Oracle.OLEDB (do not use Microsoft OLE DB Provider for Oracle, the native one is better).
enter a space into Product Name
enter   servername/instancename   as Data Source
in the Security tab, use a fixed user for Oracle ("Be made using this security context").
You should be done then. Of course you need to know the instance name of Oracle - you can see that e.g. by looking after the name of the Oracle Service, which is OracleServiceXXX, and XXX is the instance name.
0
 

Author Closing Comment

by:migav
Comment Utility
I needed to configure the TNS. I was lucky with linked server becuse a collegue had a script to create the linked server.
0
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
No, you definitely do NOT need to configure TNS when using EazyConnect («server»/«instance») syntax.
0
 

Expert Comment

by:aphelpdesk
Comment Utility
Great answer! Helped me tons!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to take different types of Oracle backups using RMAN.

772 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

14 Experts available now in Live!

Get 1:1 Help Now