2014年3月5日

[转]How to handle Failed Rows in a Data Flow

摘要: 本文转自:http://www.rad.pasfu.com/index.php?/archives/23-How-to-handle-Failed-Rows-in-a-Data-Flow.htmlsuppose this scenario: you have a source table and a destination table, you want to transfer rows from source table to destination table, so you can use simple data flow with OLE DB source and OLE DB De 阅读全文

posted @ 2014-03-05 18:45 freeliver54 阅读(443) 评论(0) 推荐(0)

[转]Getting started with SSIS - Part 10: Event Handling and Logging

摘要: 本文转自:http://beyondrelational.com/modules/12/tutorials/24/tutorials/9686/getting-started-with-ssis-part-10-event-handling-and-logging.aspxLet us now add some more features to our package. We would now addEvent handlingandLoggingto our package created. Before doing that, let us see what do the two mea 阅读全文

posted @ 2014-03-05 18:03 freeliver54 阅读(306) 评论(0) 推荐(0)

[转]SSIS中OLE DB Source中如何执行Store Procedure 以得到源数据

摘要: 本文转自:http://www.cnblogs.com/michaelxu/archive/2009/10/16/1584284.html有很多人喜欢在OLE DB Source中执行Store Procedure,以得到源数据。但我们经常会遇到这样的情况,在OLE DB Source的Sql Command中写好执行Store Procedure的语句后,可以正常Preview,但是当点到Columns标签时,却看不到Store Procedure返回来的结果集,就是说没有columns显示。解决办法步骤:1)确保Store Procedure的最后一句是select语句,即有结果集返回2) 阅读全文

posted @ 2014-03-05 15:30 freeliver54 阅读(373) 评论(0) 推荐(0)

[转]SSIS OLE DB Source中执行带参数的存储过程

摘要: 本文转自:http://www.cnblogs.com/michaelxu/archive/2009/10/21/1587450.html问题描述:执行一个存储过程得到一个多条记录的结果集,然后循环这个结果集的每一条记录,根据这条记录的某几个字段执行一个带参数的存储过程,再将返回的结果集插入到一张表中。Execute SQL Task “Get master records”中通过执行一个存储过程得到一个主结果集,Foreach Loop Container循环每条主记录,Data Flow Task对每条记录进行处理。1、先定义变量,如下表v_BatchList定义为Object用来存储返回 阅读全文

posted @ 2014-03-05 14:00 freeliver54 阅读(532) 评论(0) 推荐(0)

[转]Working with Parameters and Return Codes in the Execute SQL Task

摘要: 本文转自:http://msdn.microsoft.com/zh-cn/magazine/cc280502(en-us,SQL.100).aspxSQL statements and stored procedures frequently use input parameters, output parameters, and return codes. In Integration Services, the Execute SQL task supports the Input, Output, and ReturnValue parameter types. You use the 阅读全文

posted @ 2014-03-05 12:28 freeliver54 阅读(465) 评论(0) 推荐(0)

导航