执行SSIS包时,出现以下错误:
[OLE DB Source [83]] Error: The SQL command requires a parameter named "@Sales_person", which is not found in the parameter mapping.
[SSIS.Pipeline] Error: OLE DB Source failed the pre-execute phase and returned error code 0xC0207014.
我确实在“设置查询参数”中看到“参数方向”选项卡,它是如何使用的?就我而言,我将使用 Input
或 Output
或 InputOutput
最佳答案
问题出在映射上。请参阅下面的图像和源进行更正,您应该将其设置为:
Exec [dbo].[GetSales_Person_Data] @Sales_person = ?
关于sql - 无法将变量值传递给 ssis 中的存储过程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43619211/