Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error SSIS task: The result binding name must be set to zero for full result set and XML results

I have an SSIS execute SQL task. It returns a Full result set (i.e. a table). Howevr I get the following error when I execute the package. I have correctly give a name for the returned result set.

[Execute SQL Task] Error: The result binding name must be set to zero for full result set and XML results.

How to solve this?

like image 718
Sriwantha Attanayake Avatar asked Aug 05 '13 06:08

Sriwantha Attanayake


3 Answers

There's nothing tricky in here. Just name your variable 0 - that will do the trick. Cheers.

like image 175
makciook Avatar answered Sep 22 '22 13:09

makciook


Respecting to @makciook' s answer, I want to add a picture of how you can do that since it took me sometime to figure out after seeing his/her answer. All you need is to double click the "Execute SQL Task", go to the "Result Set" on the left and set the Result Name is 0 where the Variable Name is the object type of variable you want to use.

enter image description here

like image 20
Eray Balkanli Avatar answered Sep 24 '22 13:09

Eray Balkanli


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

like image 35
Rashami Ranjan Biswal Avatar answered Sep 25 '22 13:09

Rashami Ranjan Biswal