Solved

DTS - Trouble converting Oracle Date columns to SQL Server DateTIme

Posted on 2001-06-17
2
289 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 100 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql server query 18 41
SQL Syntax Grouping Sum question 7 27
SQL Error when trigger fires in SQL Server 2008 R2 6 16
DataType for bit Comparison 11 18
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

831 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