Hi,
I am pulling data From OLEDB Source
MemID Indicator EffectDate EndDate
1 y 20100401 20100801
1 y 20110129 20120506
2 y 20100606 20111231
2 y 20120101 20120601
If the MemID is same and Indicator is same then it should look for dates .
See the MemID 2 , Enddate is 20111231 AND again started in 20120101 SO there in no gap in ENDDATE AND EFFECTDATE
Then the record Detination should come LIKE
- MemID RiskInd EffectDate EndDate
1 y 20100401 20100801
1 y 20110129 20120506
2 y 20100606 20120601
I should do this in ssis , Between Source and Destination components
Thanks,