Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Aggregation into one oledbdestination

$
0
0

Is it possible to aggregate multiple fields from one oledbsource and then put the results into oledb destination?

If I use Aggregate transform to aggregate two columns, how can I put the values of the columns in one oledbdestination

OLEDBSource

ID   StudentMark1   StudentMark2

1    50                       60

2    45                       89

This is the result I need in OLEDBDestination 

ID  StudentMark1 StudentMark2   CountMark  avgMark

1      50                        60                2                  55

2       45                      89                2                    67

How do I put the aggregated value of StudentMark1, StudentMark2 into the avgMark and CountMark columns of the OLEDBDestination..

Could you please explain the SSIS Components I need to use to accomplish the task.


gs



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>