Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3604
  • Last Modified:

ODBC driver ORAHOME92 and WINDOWS 2008 R2

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
migav
Asked:
migav
1 Solution
 
MarioAlcaideCommented:
Hello Miguel,

a) You can download ODBC for W2008r2 here:
http://www.oracle.com/technetwork/indexes/downloads/index.html
0
 
QlemoC++ DeveloperCommented:
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
 
migavAuthor Commented:
I needed to configure the TNS. I was lucky with linked server becuse a collegue had a script to create the linked server.
0
 
QlemoC++ DeveloperCommented:
No, you definitely do NOT need to configure TNS when using EazyConnect («server»/«instance») syntax.
0
 
aphelpdeskCommented:
Great answer! Helped me tons!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now