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

Telling SSIS how to interpret a date from a file

$
0
0

Hi Everyone.

I'm using SSIS to read a delimited file. The file I'm reading has dates in different formats in different columns. Unfortunately, some columns have the dates with only 2 digits for the year, and this, in some columns, makes SSIS take a bad guess at the date format so that on some values, the year is interpreted as the dd rather than yy and vice versa.

Is it possible in SSIS to specify, per column of the source text file, the format of expected date, similar to the "104" in a TSQL command like CONVERT(datetime, '24.04.2012', 104)?

It seems like all I can do is say that it's a "db_date" or "date" without any qualifier.

Thanks in advance



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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