Error on Executing Sql Task in SSIS

后端 未结 1 703
醉话见心
醉话见心 2021-01-24 12:00

I was trying to insert data from variable into database via SSIS, I made use of Execute XML Task, below is the screenshot, \

相关标签:
1条回答
  • 2021-01-24 12:13

    Within the Parameter Mapping window, the Parameter Name needs to contain an integer value, starting with zero, not the name of the parameter as defined in the stored procedure. This integer value maps to the question mark in the SqlStatement property.

    You have one parameter to map, so you should use the value zero in the Parameter Name. The integer value used should map to the position that that parameter appears in the call to the stored procedure.

    For example, if you add a second parameter to the stored procedure, you would first add another question mark to the SqlStatement property and then add a second parameter in the mapping screen with a value of 1 for the Parameter name.

    0 讨论(0)
提交回复
热议问题