Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Case statment in SSIS

$
0
0

Hi,

I am trying to create a SSIS case statment using Derived column expression. My requirement is that, i need to create the expression without false or default statement.

For example, i have inputs for status field with 'Active' and 'Inactive' values. I want to create a case like, if status='Active' then 1 if status='Inactive' then 0, if status is some other value means i want to store NULL in it.

The destination datatype is integer.

Appreciate if someone helps on this.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>