WalterHeisenberg
Technical User
- Mar 28, 2008
- 159
Hello,
First let me apologize and say this is my first SSIS project so bare with me as I did a quick search but did not see what I am looking for. I have a project that contains 7 Data Flow Tasks. Each task runs a query and creates a flat file with the results. What I am trying to do is link these 7 DFTs to 1 Execute SQL task that has a variable named @ErrorCount. All the Execute SQL task is doing is a select @@rowCount and returning a single row as the result set with the hope it will gather how many error records all DFTs had. I then have this one Execute SQL task linked to two different Send Mail Tasks depending on the @ErrorCount.
Right now it is creating the files just fine but it seems to think there are no errors although the contents of the files have data. I'm not sure if it is possible to have all seven Data Flow Tasks linked to a single Execute SQL Task that just aggregates the errors for all queries. I appreciate your help in advance.
First let me apologize and say this is my first SSIS project so bare with me as I did a quick search but did not see what I am looking for. I have a project that contains 7 Data Flow Tasks. Each task runs a query and creates a flat file with the results. What I am trying to do is link these 7 DFTs to 1 Execute SQL task that has a variable named @ErrorCount. All the Execute SQL task is doing is a select @@rowCount and returning a single row as the result set with the hope it will gather how many error records all DFTs had. I then have this one Execute SQL task linked to two different Send Mail Tasks depending on the @ErrorCount.
Right now it is creating the files just fine but it seems to think there are no errors although the contents of the files have data. I'm not sure if it is possible to have all seven Data Flow Tasks linked to a single Execute SQL Task that just aggregates the errors for all queries. I appreciate your help in advance.