Using SSIS 2012 to read data from Oracle 11g R2

  • 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

  • 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.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • 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

  • 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 🙂

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • 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 ...

  • 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.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • 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

  • It's a start. But I'm no Oracle expert. 🙂

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • 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
  • Hi, thanks.

    I've installed the ODAC components.

    Then, what should I do, step by step, please? Thanks

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply