Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DTS Import to SQL Server form AS/400 Date Coversion issue

Posted on 2003-11-04
1
Medium Priority
?
374 Views
Last Modified: 2013-11-30
I am trying to do an import Order History tables from a JDE Edwards system on on AS/400. when I did this transfer all the data came over fine yet my date fields in JD Edwards

example: 10/22/2003

did not translate correctly, they became numbers which were not related to the date. Any Idea how to work this conversion issue from AS/400 -> SQL Server
0
Comment
Question by:timokeeffe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
JRMan earned 1000 total points
ID: 9682916
I think this is because SQL Server does not recognize the date format 10/22/2003
See the SQL Server Books online to find out what is the default server date format on SQL Server. This can be solved either be changing the default date string format or converting the AS/400 datefield on the fly to the recognizable date format for SQL Server using the DTS script.  Hope this can get you somewhere...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how the fundamental information of how to create a table.

705 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