user2315732
user2315732

Reputation: 365

Connecting to Oracle Database using Sql Server Integration Services

I have a requirement to get the data from Oracle database to Sql Database using the SSIS.

I am using sql Server 2012 Standard Edition 64 bit and oracle is 11g.

I tried downloading the oracle drivers(64-bit Oracle Data Access Components (ODAC)) to install in Sql server with will allow me to connect to Oracle db but not able to achieve the same.

Please help me to resolve the issue.

Upvotes: 17

Views: 99673

Answers (2)

Stagg
Stagg

Reputation: 2855

You should try and use the SSIS Connectors for Oracle (produced by Attunity). They are freely downloadable from Microsoft here. The SSIS Connectors provide optimal performance when selecting data from an Oracle db. In addition you need to setup the tnsnames.ora file with the correct connection configuration.

Upvotes: 5

twoleggedhorse
twoleggedhorse

Reputation: 5048

I have had to do this on many occasions, unfortunately the Oracle website is not particularly helpful when trying to determine what you need.

You need to download a copy of "ODTwithODAC1120320_32bit.exe" which can be found at:

http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html

The 64-bit version is of no use, the 32 bit drivers will work just fine. Install this on your development machine and on the SQL Server box if you want to run the packages from the agent.

You can then choose the provider ".Net Providers\OracleCLient Data Provider".
The connection string will look some like this (I think 1521 is the default Oracle port):

(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=0.0.0.0)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xxxxx)))

Upvotes: 19

Related Questions