Error : The result binding name must be set to zero for full result set and XML results
Asked Answered
M

1

13

I have only a single row that is being returned from a sql query(count(*)), but upon execution of the package, it shows me the above error and package is failing.

I have the result type to "single row", and have mapped the output of the query(select count(*) as 'result' from abc.tbl_nm) to a variable of type Int32.

Mcmichael answered 2/10, 2013 at 6:2 Comment(0)
C
43

When mapping your 'Result Set', set your 'Result Name' to '0' and 'Variable Name' to the variable you are using.

Cicisbeo answered 2/10, 2013 at 8:24 Comment(2)
That was not the least bit obvious. Thanks for clearing that up.Donadonadee
Bit more info technet.microsoft.com/en-us/library/…Spatter

© 2022 - 2025 — McMap. All rights reserved.