简体   繁体   中英

SSIS conditional split - condition setting

It's one of my practice stuff, setting the condition to split the scariness of rollercoasters.
However, it didn't work properly as it did not split the default output which is set as "Not scary".
I think something wrong with my second condition, but cannot figure out how to correct that.

Here is the required condition:

  • Very scary : The "Speed" column is more than 50.
  • Quite scary : Either the coaster's "Type" column is Wood, or the "Design" column is not Sit Down.
  • Not scary : Any other coasters failing the first two conditions (the default output).

And here is the condition I wrote:

  1. Very scary [Speed ( mph )] > 50
  2. Quite scary Type == "wood" || Design != "sit down"

The result didn't show any "not scary" even when type does not equal to wood or design equals to site down

Please help me out, appreciate that! thank you :)

通常,您的条件拆分看起来很好,但请注意SSIS表达式==运算符区分大小写,因此您可以将所有值转换为UPPER Case

Quite scary:        UPPER([Type]) == "WOOD" || UPPER([Design]) != "SIT DOWN"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM