SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Using SSIS 2012 to read data from Oracle 11g R2


Using SSIS 2012 to read data from Oracle 11g R2

Author
Message
pmscorca
pmscorca
SSC Veteran
SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)

Group: General Forum Members
Points: 231 Visits: 282
Hi,

I need to read and import into a SQL Server 2012 db data from an Oracle data source (Oracle 11g R2).
I think to use the Oracle provider for OLE DB, but I need to download and install something on the db server that hosts SQL Server 2012. What do I need to install? 32-bit or 64-bit?
Then the data provider setup, how will I use it inside SSIS 2012?

Many thanks
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27115 Visits: 13268
You'll need to install the Oracle client on the server machine.
32-bit to be able to develop in SSDT and 64-bit for running the packages on the server.

Once you install the client and the providers, you'll be able to select the Oracle OLE DB provider from the list when you are creating an OLE DB connection in SSIS.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
pmscorca
pmscorca
SSC Veteran
SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)

Group: General Forum Members
Points: 231 Visits: 282
Hi Koen, thanks for your reply.
SSIS 2012 runs on a db server with SQL Server 2012 64-bit and Windows Server 2012 64-bit: however do I need to install also the 32-bit Oracle client?
After the installation, inside the Oracle data provider is it enough to specify the server name, the user and the pwd to access the Oracle db?

Thanks
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27115 Visits: 13268
pmscorca (9/5/2013)
Hi Koen, thanks for your reply.
SSIS 2012 runs on a db server with SQL Server 2012 64-bit and Windows Server 2012 64-bit: however do I need to install also the 32-bit Oracle client?
After the installation, inside the Oracle data provider is it enough to specify the server name, the user and the pwd to access the Oracle db?

Thanks


You only need to install 32-bit components on the machine where the SSIS projects will be developed.

Regarding the connection: you'll also need to configure the TNSNAMES. You better ask about that in an Oracle forum :-)


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
pmscorca
pmscorca
SSC Veteran
SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)

Group: General Forum Members
Points: 231 Visits: 282
Perhaps it could be enough to install the Oracle Data Access Components (ODAC) for Windows and not an Oracle client, isn't it?

However, it should be useful to know any Microsoft articles that talks about how using the Oracle data provider inside SSIS without studying Oracle documentation.
I think that this issue is common for more other developers. It is enough only setting the TSNAMES ...
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27115 Visits: 13268
pmscorca (9/5/2013)
Perhaps it could be enough to install the Oracle Data Access Components (ODAC) for Windows and not an Oracle client, isn't it?

However, it should be useful to know any Microsoft articles that talks about how using the Oracle data provider inside SSIS without studying Oracle documentation.
I think that this issue is common for more other developers. It is enough only setting the TSNAMES ...


When I had to migrate data from Oracle to SQL Server, I installed the client and the ODAC.
Maybe it's not necessary to install both, I shall never know :-)

The part I struggled with most is setting the TNSNAMES.ORA.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
pmscorca
pmscorca
SSC Veteran
SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)

Group: General Forum Members
Points: 231 Visits: 282
Is it enough to modify the tnsnames.ora file in the ORACLE_HOMEetwork\admin directory folder?
At least, is it right the point where acting?

Thanks
Koen Verbeeck
Koen Verbeeck
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27115 Visits: 13268
It's a start. But I'm no Oracle expert. :-)


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
Luis Cazares
Luis Cazares
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16246 Visits: 19059
Installing the Oracle Client and adding the service to TNSNAMES.ORA was all that I needed to connect to an Oracle db. Other problems involved network/firewall permissions.


Luis C.
General Disclaimer:
Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?


How to post data/code on a forum to get the best help: Option 1 / Option 2
pmscorca
pmscorca
SSC Veteran
SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)SSC Veteran (231 reputation)

Group: General Forum Members
Points: 231 Visits: 282
Hi, thanks.
I've installed the ODAC components.
Then, what should I do, step by step, please? Thanks
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search