Where can I find the SSIS Precompile Property for Script Tasks in SQL Server 2008?

匿名 (未验证) 提交于 2019-12-03 01:07:01

问题:

I was getting an error after creating a Script Task in SSIS:

Validation error. Script Task : The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.

The error was fixed (just need to BUILD the script successfully) and not relevant to the question.

During my search for answers on StackOverflow, I have found a lot of talks about this "pre-compile" setting, but after clicking on nearly everything in SSIS, I just couldn't find it, hence the question.

I had a suspicion that it was removed in a later version but just couldn't prove it. Please let me know if you happen to know the answer.

回答1:

I have managed to find the answer:

Configuring the Script Component in the Script Component Editor

In SQL Server 2008 Integration Services (SSIS) and later versions, all scripts are precompiled. In previous versions, you specified whether scripts were precompiled by setting a Precompile property for the task.

I wish there is an easier way to locate feature differences between SQL versions.

UPDATE - Thanks to @billinkc, I have pinpointed the section where the change is documented:

Script Task

Unlike earlier versions where you could indicate whether the scripts were precompiled, all scripts are precompiled in SQL Server 2008 Integration Services (SSIS). When a script is precompiled, the language engine is not loaded at run time and the package runs more quickly. However, precompiled binary files consume significant disk space.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!