17

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.

4

2 回答 2

19

我不得不多次这样做,不幸的是,Oracle 网站在尝试确定您需要什么时并不是特别有用。

您需要下载“ODTwithODAC1120320_32bit.exe”的副本,该副本位于:

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

64位版本没用,32位驱动就可以了。如果您想从代理运行包,请在您的开发机器和 SQL Server 机器上安装它。

然后您可以选择提供程序“.Net Providers\OracleCLient Data Provider”。
连接字符串看起来像这样(我认为 1521 是默认的 Oracle 端口):

(描述=(地址=(协议=TCP)(主机=0.0.0.0)(端口=1521))(连接数据=(服务名称=xxxxx)))

于 2013-08-07T08:37:36.997 回答
5

您应该尝试使用适用于 Oracle 的 SSIS 连接器(由 Attunity 生产)。它们可从 Microsoft此处免费下载。SSIS 连接器在从 Oracle 数据库中选择数据时提供最佳性能。此外,您需要使用正确的连接配置设置 tnsnames.ora 文件。

于 2013-08-09T10:27:22.933 回答