I have an execute sql task which then feeds a foreach loop. How can I can put an expression on the constraint between the two, to check if the resultset is empty or not?
The exececute sql task, setting result set to "full result set" and populates a variable @MyResult
I want to check that variable for empty and/or null before it hits the foreach loop.
However, if the result is empty, shouldnt the foreach loop just complete, with nothing done?