Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Using SSIS 2012 to read data from Oracle 11g R2 Expand / Collapse
Author
Message
Posted Thursday, September 5, 2013 4:19 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, July 24, 2014 11:44 AM
Points: 82, Visits: 245
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
Post #1491699
Posted Thursday, September 5, 2013 4:39 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:49 PM
Points: 13,283, Visits: 10,156
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1491708
Posted Thursday, September 5, 2013 4:55 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, July 24, 2014 11:44 AM
Points: 82, Visits: 245
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
Post #1491714
Posted Thursday, September 5, 2013 4:57 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:49 PM
Points: 13,283, Visits: 10,156
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1491715
Posted Thursday, September 5, 2013 8:04 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, July 24, 2014 11:44 AM
Points: 82, Visits: 245
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 ...
Post #1491804
Posted Thursday, September 5, 2013 12:48 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:49 PM
Points: 13,283, Visits: 10,156
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1491916
Posted Wednesday, October 2, 2013 9:58 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, July 24, 2014 11:44 AM
Points: 82, Visits: 245
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
Post #1500827
Posted Wednesday, October 2, 2013 11:16 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:49 PM
Points: 13,283, Visits: 10,156
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?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1500859
Posted Wednesday, October 2, 2013 12:04 PM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Today @ 4:45 PM
Points: 3,354, Visits: 7,249
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.
I am a great believer in luck, and I find the harder I work the more I have of it. Stephen Leacock

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1500873
Posted Wednesday, October 2, 2013 2:36 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, July 24, 2014 11:44 AM
Points: 82, Visits: 245
Hi, thanks.
I've installed the ODAC components.
Then, what should I do, step by step, please? Thanks
Post #1500921
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse