ssis expression

Vicki 46 Reputation points
2022-08-09T20:54:13.857+00:00

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?

[Code] == "A" ? [Earning] ="10"

Thanks

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,460 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 33,296 Reputation points
    2022-08-10T01:38:23.313+00:00

    Hi @Vicki ,

    You may use below code:

    Code == "A" ? "10" : [ Earing]  
    

    or

    Code == "A" ? "10" : ""  
    

    229891-image.png

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments