The Below Derived Column is showing error in SSIS
CASE TRIM(UPPER(IssueReviewYN)) WHEN "YES" THEN 0 WHEN "N/A" THEN 0 ELSE 1 END
Is there anything i am missing?
The Below Derived Column is showing error in SSIS
CASE TRIM(UPPER(IssueReviewYN)) WHEN "YES" THEN 0 WHEN "N/A" THEN 0 ELSE 1 END
Is there anything i am missing?
The reason the expression is showing an error is you have valid TSQL but a Derived Column uses the SSIS Expression language which is not SQL.
You're looking for the ternary operator
You are looking for something along the lines of
Pseudo logic: if the uppercased and trimmed value of
IssueReviewYNis YES or N/A then use 0; else 1