简体   繁体   English

在SSIS中处理条件拆分中的null

[英]handling null in conditional split in SSIS

I am using the conditional split to split my output. 我正在使用条件拆分来拆分我的输出。 In conditional split I've used condition 在条件拆分中,我使用了条件

IsNull(Name) ISNULL(名称)

The input to the conditional split is result of left outer join query and it is pass through conditional split and insert into destination. 条件拆分的输入是左外部联接查询的结果,它通过条件拆分传递并插入到目标中。

I came across the situation where the value of Name is not null still it passes through conditional split and insert into destination. 我遇到了Name的值不为null的情况,它仍然通过条件拆分并插入到目标中。

Eg input has value Name= "/Aav" 例如,输入值Name =“ / Aav”

Yes in name there is one special character. 是的,名字上有一个特殊字符。 In this Case split condition IsNull(Name)= False. 在这种情况下,拆分条件IsNull(Name)= False。

Still this value is inserted into destination. 仍然将此值插入目标。 when the conditional slit return true then only it should insert into destination. 当条件狭缝返回true时,则仅应将其插入目标位置。

Could you please suggest how I can handle this? 您能建议我如何处理吗?

check it out it may helps you 检查出来可能对您有帮助

在情况1中只会出现c的空值,否则将默认输入

case1 allows only null values of c column case1仅允许c列的空值

and then case 1 to your destination is what you needed 然后您需要的情况1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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