Hi all,
I'm trying to run a stored procedure for each row of a table.
To achieve this, I have the following control flow:
1) [Execute SQL Task] Extract rows from database. Retrieves data (full result set) into an object variable.
2) [ForEach] Loops over the rows. For each row:
2.1) [Execute SQL Task] Executes procedure and extract a single row in another database
2.2) [Execute SQL Task] Performs an update in the database
My problem is that memory continues to increase until a certain point that Visual Studio starts to become slow and freeze.
I believe this can be a memory problem related to the first "Execute SQL Task", which retrieves a full result set from the database. However, I'm a beginner at
SSIS and I need a help to understand what is causing this problem. Any ideas?