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

date conversion on import

$
0
0

  When loading from csv file to table I have a field that stores it's date in this format dd-mon-yy

example:
21-Aug-18

 How can I using derived column get in this date format to load to a datetime SQL field?

 yyyy-mm-dd

 what I'm already checking in Derived column:
 (LEN([Column 27]) == 10 ? (DT_DATE)([Column 27]) : NULL(DT_DATE))

Thanks.
 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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