CheckpointUsage“始终”属性 [英] CheckpointUsage "ALWAYS" property

查看:80
本文介绍了CheckpointUsage“始终”属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我对CheckpointUsage属性"ALWAYS"感到困惑。价值。


我已经阅读了很多关于相同的博客,并得出了一个结论: 


1。切勿将此属性设置为"始终",因为它会导致程序包失败。


2。始终将此属性设置为"IfExists"。


但是我的问题是,"ALWAYS"的用途是什么?属性然后,因为它导致包失败。是否有任何情况,我们可以使用"总是"的情况。选项?

解决方案

嗨  mkanurag, 


似乎是唯一的情景由于"ALWAYS",包不会失败,因为包在上次执行期间失败,这意味着存在一个现有的Checkpoint文件。 


您可能已经知道,如果包执行结果成功,Checkpoint文件将被删除。所以"总是"如果您确实需要从Checkpoint文件重新启动软件包,那么这只是一个临时选项。 


请参阅Andy Leonard的回复:
CheckpointUsage在SSIS中"始终"




Hi,

I am confused with the CheckpointUsage property "ALWAYS" value.

I've read many blogs regarding the same and came to one conclusion that 

1. Never set this property as "ALWAYS", as it will cause the package failure.

2. Always set this property as "IfExists".

But here my question is, what is the use of "ALWAYS" property then, as it causing the package failure. Are there any scenarios, where we can use the "ALWAYS" option?

解决方案

Hi mkanurag, 

It seems that the only scenario that the package will not fail due to "ALWAYS", is that the package failed during last execution, which mean there is an existing Checkpoint file. 

As you may already know, if the package execution result is success, the Checkpoint file will be deleted. So "ALWAYS" will only be a temporary option, if you really need to restart the package from the Checkpoint file. 

Please see Andy Leonard's reply in: CheckpointUsage 'Always' in SSIS


这篇关于CheckpointUsage“始终”属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆