A Microsoft platform for building enterprise-level data integration and data transformations solutions.
UPDATE. Figured this out by using NULL(DT_WSTR) and adding conversion in front to the whole expression.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi everybody,
I managed to write this conditional expression in SSIS:
(LEFT([PayerID],1)!="9")?[CheckNumber]: ""
However, what I really want to return is either CheckNumber or NULL and it should be varchar (not unicode) string of 10 characters. I'm not sure how to write the correct SSIS expression to achieve the desired result. Trying to use NULL( of the correct type results in expression shown in red.
Thanks in advance.
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
Additional SQL Server features and topics not covered by specific categories
UPDATE. Figured this out by using NULL(DT_WSTR) and adding conversion in front to the whole expression.