Solved

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

Posted on 2003-11-04
1
367 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
1 Comment
 
LVL 1

Accepted Solution

by:
JRMan earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSMS Opening Mode 9 18
install report service in sccm2012 3 16
job schedule 8 16
SQL Find Carriage Return and Delete it. 3 11
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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.
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.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

791 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