ssis

SSIS:SSIS2008连接Oracle 64bit问题

别来无恙 提交于 2020-02-16 09:45:41
1.SETUP: Oracle Server1:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Oracle Server2:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit 据我所能看到的,两个Server的配置一样。 SSIS(直接在BIDS中运行):Windows 64bit,装了两个Oracle Client, ClientHome1,ClientHome2. 2.问题: 在SSIS数据流任务中,使用 Oracle Provider for OLE DB分别连接Server1和Server2, 运行SSIS数据流任务时, 一个正常, 一个出错,消息如下: [OLE DB 目标 [100]] 错误: SSIS 错误代码 DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER。对连接管理器“rainbowDW.XXXXX”的 AcquireConnection 方法调用失败,错误代码为 0xC0209303。可能在此之前已经发出错误消息,提供了有关 AcquireConnection 方法调用失败原因的详细信息。 [SSIS.Pipeline] 错误: 组件“OLE

How to import a flat file without changing regional settings on the deployment server?

烂漫一生 提交于 2020-02-15 07:40:40
问题 I am trying to read a text file in SSIS (2005/2008). I created a connection to the file and placed flat file source, and it works fine in preview but when I try to run I get error saying: [Derived Column [91848]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR So I have identified that there are couple of columns with decimal numbers which use period as delimiters. But since I work in Scandinavian environment, the servers expect comma as delimiters. What works is manually changing

SSIS 学习(2):数据流任务(上)

五迷三道 提交于 2020-02-13 23:56:01
数据流任务是SSIS中的一个核心任务,估计大多数ETL包中,都离不开数据流任务。所以我们也从数据流任务学起。   数据流任务包括三种不同类型的数据流组件:源、转换、目标。其中:   源:它是指一组数据存储体,包括关系数据库的表、视图;文件(平面文件、Excel 文件、Xml 文件等);系统内存中的数据集等。   转换:这是数据流任务的核心组件,如果说数据流任务是ETL的核心,那么数据流任务中的转换,则是ETL核心中的核心了。它包含非常丰富的数据转换组件,比如数据更新、聚合、合并、分发、排序、查找等。可以说SQL语句中有的功能,它都基本上运用起来了。   目标:与“源”相对应,也是一组数据存储体。包含表、视图;文件;多维数据集、内存记录集等。   除以上三类组件外,还有一种组件,那就是”流(Flow)“,它形象地显示了数据从”源“,经过”转换“,最后到达”目的“地的一组路径。我们可以利用”流“,来查看数据,添加备注说明等。   下面一幅图,就充分展示了源、转换、目的、流的关系。   下面我们以将IIS Log 导入数据库为例,来介绍如何进行数据流任务开发。   在开发之前,我们先来看看IISlog 的结构,如图:   它基本上记录了网页浏览的所有信息,如日期、时间、客户IP、服务器IP、页面地址、页面参数等很多信息,我们再根据这些信息,在关系型数据库中,建立一张对应表,来记录这些信息

Integration Services 学习

懵懂的女人 提交于 2020-02-13 23:55:04
概要 俗话说:“十年磨一剑”,Microsoft 通过5年时间的精心打造,于2005年浓重推出Sql Server 2005,这是自SQL Server 2000 以后的又一旷世之作。这套企业级的数据库解决方案,主要包含了以下几个方面:数据库引擎服务、数据挖掘、Analysis Services、Integration Services、Reporting Services 这几个方面,其中Integration Services (即SSIS),就是他们之间的中转站、纽带,将各种源头的数据,经ETL到数据仓库,建立多维数据集,然后进行分析、挖掘并将结果通过Reporting Services 送达给企业各级用户,为企业的规划决策、监督执行保驾护航。 SSIS 其全称是Sql Server Integration Services ,是Microsoft BI 解决方案的一大利器,是Sql Server 2000中DTS 一个升级之作。 无论是功能上,性能上,还是可操作方面都有很大的改进。且看下面的操作界面就可见一斑。 SQL Server 2000 DTS Sql Server 2008 SSIS 现在很多人都把SSIS 说成是一个ETL (Extract-Transform-Load)工具,我个人觉得不太准确,或许是大家基本上都把他做为ETL 使用

Integration Services 学习

蓝咒 提交于 2020-02-13 23:54:10
概要 俗话说:“十年磨一剑”,Microsoft 通过5年时间的精心打造,于2005年浓重推出Sql Server 2005,这是自SQL Server 2000 以后的又一旷世之作。这套企业级的数据库解决方案,主要包含了以下几个方面:数据库引擎服务、数据挖掘、Analysis Services、Integration Services、Reporting Services 这几个方面,其中Integration Services (即SSIS),就是他们之间的中转站、纽带,将各种源头的数据,经ETL到数据仓库,建立多维数据集,然后进行分析、挖掘并将结果通过Reporting Services 送达给企业各级用户,为企业的规划决策、监督执行保驾护航。 SSIS 其全称是Sql Server Integration Services ,是Microsoft BI 解决方案的一大利器,是Sql Server 2000中DTS 一个升级之作。 无论是功能上,性能上,还是可操作方面都有很大的改进。且看下面的操作界面就可见一斑。 SQL Server 2000 DTS Sql Server 2008 SSIS 现在很多人都把SSIS 说成是一个ETL (Extract-Transform-Load)工具,我个人觉得不太准确,或许是大家基本上都把他做为ETL 使用

Integration Services 学习

我只是一个虾纸丫 提交于 2020-02-13 23:53:23
概要 俗话说:“十年磨一剑”,Microsoft 通过5年时间的精心打造,于2005年浓重推出Sql Server 2005,这是自SQL Server 2000 以后的又一旷世之作。这套企业级的数据库解决方案,主要包含了以下几个方面:数据库引擎服务、数据挖掘、Analysis Services、Integration Services、Reporting Services 这几个方面,其中Integration Services (即SSIS),就是他们之间的中转站、纽带,将各种源头的数据,经ETL到数据仓库,建立多维数据集,然后进行分析、挖掘并将结果通过Reporting Services 送达给企业各级用户,为企业的规划决策、监督执行保驾护航。 SSIS 其全称是Sql Server Integration Services ,是Microsoft BI 解决方案的一大利器,是Sql Server 2000中DTS 一个升级之作。 无论是功能上,性能上,还是可操作方面都有很大的改进。且看下面的操作界面就可见一斑。 SQL Server 2000 DTS Sql Server 2008 SSIS 现在很多人都把SSIS 说成是一个ETL (Extract-Transform-Load)工具,我个人觉得不太准确,或许是大家基本上都把他做为ETL 使用

Remove duplicate in SSIS package with preference over a column data

一笑奈何 提交于 2020-02-08 03:17:35
问题 I have duplicate rows in data coming from excel sheet. In the SSIS package, I am using Sort transformation where sorting is done in ascending order by the primary key column ID. But before removing the duplicates I want to see if the email column has email with my company's domain. If so, I want other rows removed than the one having this type of email addresses. What should I do? Please refer to the image attached below. In the data above, I want to remove two rows of John where email

How to Unpivot Columns dynamically in foreach loop in ssis

独自空忆成欢 提交于 2020-02-05 09:53:46
问题 I am using foreach loop to dynamically load file in database but in my source file year and month wise data is stored.If 2020 will come then issue will generate.I want to know that if i want to do unpivot of all those columns suppose 2020 and 2021 data came then it should store sales values in different column and month and year in different column. By foreach loop i can read all file but if i want to unpivot it dynamically and want to store it in database. if anyone have any idea how to

How to pass user credentials to WSDL (web service) inside script task/SSIS?

﹥>﹥吖頭↗ 提交于 2020-02-05 03:28:41
问题 Requirement -I have user credentials to access a WSDL file and I can access the file via browser. WSDL link - XYZ userdID- asdf pwd - ***** I need to use C# code inside SSIS script task to call this web service (specifically a single method call) using appropriate user credentials. Get the response(which would be in XML) , parse the XML to get specific values from it and insert that into a SQL table. If anyone know/have any idea/reference link on how to achieve the above requirement, please

SSIS Package Runs from Catalog, not from SQL Server Agent (Same User)

二次信任 提交于 2020-02-05 02:39:07
问题 I have a SSIS package, developed for SQL Server 2012, that uses a script component to open an Excel workbook and execute a macro. This package runs in visual studio, and I am able to deploy to SQL Server 2012. In SQL Server, I am able to execute the package by selecting it from the Integration Services Catalogs and Right Click --> Execute... (with 32-bit runtime). I understand that this executes the package as the user that I am logged in to the server as. The package executes successfully in