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

How About This One - CASE/IF statement in SSIS Derived Column

$
0
0

TSQL format:  CASE WHEN [Field1] = 0 THEN [Field2] ELSE NULL END as DerivedColumn

I tried this, but it doesn't work:  [Field1] == 0 ? [Field2] 

The first field is a bit field and the resulting value of this transformation will be put into a datetime field in SQL Server.




Viewing all articles
Browse latest Browse all 24688

Trending Articles



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