SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,452 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have the txt file with several columns (Code, Earing, OverTime, Vacation). I need to set the fit value for column Earning =10 if the the Code ="A" .
Something like this but I am not sure?
(TRIM([Code])) == "A" ? [Earing] ==20 : ""
Thanks
Hi @Vicki ,
You may use below code:
Code == "A" ? "10" : [ Earing]
or
Code == "A" ? "10" : ""
Regards,
Zoe
If the answer is helpful, please click "Accept Answer" and upvote it.
Hi @Vicki ,
Please try the following expression in the SSIS Derived Column transformation:
TRIM([Code]) == "A" ? "10" : ""