• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 309
  • Last Modified:

DTS - Trouble converting Oracle Date columns to SQL Server DateTIme

I'm trying to copy data from an Oracle source table  (using the MS OLE DB for Oracle option) to a MS SQL Server 7  table. It works fine except for the two Date columns (by default
converted to DateTIme in SQL Server).
The only odd thing I notice, is that when I preview the Oracle source, some of the years look too old (1844 for example),but even those should convert to DateTime....
How do I approach this?
0
vd
Asked:
vd
1 Solution
 
arun04Commented:
The minimum year supported by SQL Server is 1752, if your data has year older then this , then there is a problem. in that case you can use a char column to store the data
0
 
vdAuthor Commented:
Thanks. That was my first thought too,  to change the destination to char. It didn't
work at that time, but it works now for some reason!

Great answer, and I appreciate your quick response!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now