Return Integer value from SSIS execute SQL Task

别等时光非礼了梦想. 提交于 2019-12-05 17:42:18

The value for Result Name is incorrect. Try using an ordinal (position) based approach.

A basic set up for an OLE or ADO.NET Execute SQL Task

Here I have specified the ordinal of 0 for the zeroeth column in my resultset.

Here you can see the original variables and their values (-1, -2) as well as their run-time values of 35 for both.

Once your package completes yuor variables go back to their default state. If you use a breakpoint or a msgbox, you'll see that during execution your variable does have the value.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!