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

Need help with Derived Column Expression

$
0
0

Hi,

I have a derived column expression that "used" to work until the brilliant people sending me the data decided to change things up so I wouldn't be bored!

Data is defined in flat file connection as numeric and I took the default settings (18,0). The data dictionary defines the column with an implied decimal point, so I use the following expression to give me a new column: ISNULL(DRG_OUTLIER_AMT) ? 0 : DRG_OUTLIER_AMT / 100

This expression worked fine until they decided not to have any data in this column in the delimited file, just spaces (ex "          " instead of "0000000000"). How do I modify my derived column expression to process this new arrangement (and still keep the file file connection numeric attributes)?

Thanks for your help.

Dave


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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