更新时间:2023-02-07 13:05:45
唯一的方法是将脚本保存到文件中并使用 执行流程任务.
The only way to do that is to save the the script into a file and execute it using an Execute Process Task .
您不能在 SSIS 包中编写 Python 脚本.基于 官方文档 :
You cannot write python scripts within SSIS packages. Based on the official documentation :
脚本任务使用的 Microsoft Visual Studio Tools for Applications (VSTA) 开发环境支持 Visual Basic 2005 和 Visual C# 编程语言.
The Microsoft Visual Studio Tools for Applications (VSTA) development environment used by the Script task supports the Visual Basic 2005 and Visual C# programming languages.