Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下 SQL 查询,需要Derived Column Transformation在 SSIS 中使用。
Derived Column Transformation
CASE WHEN A IN (1,2,3) THEN "ABC" ELSE "NA" END
如何将此语句重写为 SSIS 表达式?
派生列表达式代码:
A == 1 || A == 2 || A == 3 ? "ABC" : "NA"
它将检查 A 是否等于 1 或 2 或 3,如果是,则为“ABC”,否则为“NA”。