Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SSIS条件拆分布尔结果_Ssis_Split_Conditional_Boolean Expression - Fatal编程技术网

SSIS条件拆分布尔结果

SSIS条件拆分布尔结果,ssis,split,conditional,boolean-expression,Ssis,Split,Conditional,Boolean Expression,在条件拆分组件中,我需要知道年龄是否等于-1,并且我正在使用下面的语句 但是,在运行时会出现错误。我应该如何修改我的声明?太棒了 Error: The expression "Age == -1" on "output "Unknown" (12743)" evaluated to NULL, but the "component "Age Conditional Split 1" (12740)" requires a Boolean results. Modify the error row

在条件拆分组件中,我需要知道年龄是否等于-1,并且我正在使用下面的语句

但是,在运行时会出现错误。我应该如何修改我的声明?太棒了

Error: The expression "Age == -1" on "output "Unknown" (12743)" evaluated to NULL, but the "component "Age Conditional Split 1" (12740)" requires a Boolean results. Modify the error row disposition on the output to treat this result as False (Ignore Failure) or to redirect this row to the error output (Redirect Row).  The expression results must be Boolean for a Conditional Split.  A NULL expression result is an error.

我猜你的年龄有一些空值。如果要将NULL发送到相同的未知输出,则可以将表达式更改为:

ISNULL(Age) || Age == -1