I have made a foreach loop in which I have an "execute SQL task" which fills a recordset stored in a variable.
the first time the task is executed, it's ok, but on the second time, I have a violation access of memory. I tried the "dispose()" method of the variable, in vain.
Is there anybody who meets this problem ? How can I solve it ?
An alternative would be to store de result of the query in a table, and to explore it with a script task, but how can I get link the table to a DataTable variable ?
Thanks for helping me !