Thursday, 24 November 2022

SSIS - conditional split output evaluated to NULL and it should return Boolean results

 Hi All,

Encountered above error when conditional split was used to implement SCD type 2 in SSIS using Look up


To resolve this use below code 


(ISNULL(email) ? "1" : email) != (ISNULL(L_email) ? "1" : L_email) || (ISNULL(phone) ? "1" : phone) != (ISNULL(L_phone) ? "1" : L_phone)



i,e use ISNULL for both source and destination side so that the query does not return any Null values and finally is able to evaluate results as Boolean

No comments:

Post a Comment