Hi @Musadique Shah ,
What's the destination of the source? SQL database or excel?
It's a little hard to meet your requirement in SSIS.
You may convert the excel data to SQL database and then use tsql to deal with the data.
insert into dbo.[newcast]
SELECT STRING_AGG(value,',')
FROM (SELECT distinct value
FROM [OUTPUT].[dbo].[destinationcast]
CROSS APPLY STRING_SPLIT([cast], ','))a
Note: The function is only work after SQL2017.
If your destination source is excel, you may also convert the table in SQL database to excel with SSIS.
Regards,
Zoe
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues October