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

Deriving DateTime Columns with Null Values

$
0
0

Hi Team,

I have issue with the derived column for datetime.
Input is from txt file in yyyymmdd format and deriving the column as
(DT_DATE)(SUBSTRING([Column 13],1,4) + "-" + SUBSTRING([Column 13],5,2) + "-" + SUBSTRING([Column 13],7,2))
it is failing because the column 13 has null how to handle this?

Thanks

Supreeth


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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