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

SSIS 2005: date being loaded with wrong century

$
0
0

Hello,

I am using ssis 2005 to load a .csv file into sql server 2005. it is pipe (|) delimited.

The dates in this file have format:   DD-MON-YY

I am using a script task (transformation).

for example: this date   28-JUL-21

I am converting the MON to MM.

(example:  JAN to 01, FEB to 02, etc...)

the result string would be:   07/28/21.

when I insert the field, the date is: 2021-07-28

it should be 1921-07-28

it does not do this for all dates, just some of them.

Why does it do this?

How can I fix this issue?

Please help.

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>