【问题标题】:Passing parameter into an OLE DB component using parameters not variables SSIS使用参数而不是变量 SSIS 将参数传递到 OLE DB 组件
【发布时间】:2016-08-10 14:48:47
【问题描述】:

我在将参数传递到我的 SSIS OLE DB 源中的存储过程时遇到了困难。我不断得到

[Get ************ [2]] Error: The SQL command requires a parameter named "@numberOfRecords", which is not found in the parameter mapping.]

sp 看起来像这样:

EXECUTE usp_get_encrypted_value_without_nums @numberOfRecords ? --这不起作用

EXECUTE usp_get_encrypted_value_without_nums ? -- 这也没用

此参数已在我的参数中声明并赋值。 如果这是错误映射的情况,或者如果参数不能用于将值设置为 sp,我将不胜感激。

流程图:

【问题讨论】:

    标签: sql-server ssis business-intelligence


    【解决方案1】:

    试试这样:

    EXECUTE usp_get_encrypted_value_without_nums ?
    

    在参数映射中,将参数0 映射到您要传递的值。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-12
    相关资源
    最近更新 更多