sql-server-2008 - 在哪里可以找到 SQL Server 2008 中脚本任务的 SSIS 预编译属性?

标签 sql-server-2008 ssis

在 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.



错误已修复(只需要成功构建脚本)并且与问题无关。

在我在 StackOverflow 上寻找答案的过程中,我发现了很多关于这种“预编译”设置的讨论,但是在单击 SSIS 中的几乎所有内容后,我只是找不到它,因此提出了这个问题。

我怀疑它在以后的版本中被删除了,但无法证明。如果您碰巧知道答案,请告诉我。

最佳答案

我设法找到了答案:
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.


我希望有一种更简单的方法来定位 SQL 版本之间的功能差异。
更新 - 感谢@billinkc,我已经确定了记录更改的部分:
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.

关于sql-server-2008 - 在哪里可以找到 SQL Server 2008 中脚本任务的 SSIS 预编译属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16329138/

相关文章:

sql-server - 使用混合日期以及日期和时间更新数据类型

sql - 为什么这个 'WHEN THEN' SQL 查询没有返回预期的结果?

sql-server - BACKUP 未能完成命令 BACKUP DATABASE

ssis - SSIS处理外部问题

ssis - 当文件到达文件夹时触发 SSIS 包的执行

sql-server - 如何在sql server中的计算字段上设置外键约束?

sql - 为什么我们不应该在 "sp_executesql"中使用 varchar ?

sql-server - 带有 XML 目标列的包的性能下降

sql-server - SSIS 2012 SQL 代理作业 ConnectionString 与 InitialCatalog

sql-server - 有没有办法从 Excel 特定单元格收集数据并发送给 SQL Server?