?
Solved

DTS - Trouble converting Oracle Date columns to SQL Server DateTIme

Posted on 2001-06-17
2
Medium Priority
?
301 Views
Last Modified: 2008-02-26
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
Comment
Question by:vd
2 Comments
 
LVL 3

Accepted Solution

by:
arun04 earned 400 total points
ID: 6201626
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
 

Author Comment

by:vd
ID: 6202448
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question