当执行任务时发生异常时,例如查找任务找不到匹配项,我想报告该异常以及它在执行报告中查找的值。我怎么做?在 SSIS 中是否有更合适的方法来做到这一点?
最佳答案
没有实际做这项工作,我认为你应该使用 No Match 输出,What´s the difference between Error output and "No match Output" in Lookup transformation SSIS ,将行传递给脚本任务以记录警告,http://msdn.microsoft.com/en-us/library/ms136054.aspx ,您应该能够在执行报告中看到警告列表,http://www.rad.pasfu.com/index.php?/archives/78-SSIS-Catalog-Part-5-Logging-and-Execution-Reports.html .
关于ssis-2012 - 如何将自定义消息记录到 SSIS 2012 中的执行报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21738270/