Solved

ODBC driver ORAHOME92 and WINDOWS 2008 R2

Posted on 2011-02-26
5
3,498 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
[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
5 Comments
 
LVL 4

Expert Comment

by:MarioAlcaide
ID: 34986998
Hello Miguel,

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

Accepted Solution

by:
Qlemo earned 500 total points
ID: 34987033
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
ID: 34992774
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 70

Expert Comment

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

Expert Comment

by:aphelpdesk
ID: 39516137
Great answer! Helped me tons!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

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…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

617 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