我创建了一个执行 sql 任务来将在 Foreach 循环任务中遇到的文件名保存到数据库表中,当我运行单个任务并将文件名写入数据库表时,这工作正常(见下文)无法当前发布图像! [任务成功运行][1] 但是,当我运行完整的 SSIS 包时,此任务失败(见下文)无法当前发布图像
![unsuccessful execution][2] 我得到的错误信息是:
Error: String or binary data would be truncated.
[Execute SQL Task] Error: Executing the query "insert into filename_staging_table
(FileName) Val..." failed with the following error:
"The statement has been terminated.". Possible
failure reasons: Problems with the query,
"ResultSet" property not set correctly, parameters
not set correctly,
or connection not established correctly.
非常感谢任何指导......我完全被卡住了!!!!
谢谢