|
I am trying to use a rowcount in an ssis package. I want to use the row count result (pacakge level variable) and write it to a logging table. right before I load the table with results, I am using a mutlicast to duplicate my destinations - one goes to the ole db destination , the other goes to the rowcoount variabble. this is intended to give me a int value to be used in a second data flow task that will be used to populate a logging table. There are no rows that get logged so i assume that my variable is not getting populated I am also doing the same thhing as an error handler if the records inserted violate a constraint.
(comments are locked)
|
|
What kind of row counts you are calculating using the Aggregate? If you really need to log only row counts, than you should do this in s SQL Task or second data flow. As Aggregate is a fully blocking transformation and will have to keep all records in memory (or will be swapped to disc if there is not enough memory) and will slow down the overall ETL performance.
Jun 17 '12 at 08:38 PM
Pavel Pawlowski
(comments are locked)
|
(comments are locked)
|
|
The first DFT writes it to a package variable. then the 2nd DFT uses a oledb source, then i am using a derived column then picking the package level variable and then using the derived colmn (variable count) to use to write to the log I would show the screenshot but it is not working in SSC...
(comments are locked)
|
I got it - it takes aggregates - and we can keep it in the same DFT
