A Microsoft platform for building enterprise-level data integration and data transformations solutions.
Hi @jn93 ,
You may try with TSQL code to do that easily. It will be a little hard to do that in SSIS.
select ukey,pacpde,date,time from (
select *,row_number() over(partition by ukey,pacpde order by date desc,time desc) as rn
from
test1018
) t
where t.rn = 1
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.
]