Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004

    Unanswered: Datetime conversion from csv file

    I have a DTS-package running which imports data from a .csv file to a sql2000 database.
    In the file there are some datefields in dd/mm/yyyy format and i want to keep it that way. But after the import the dateformat is yyyy/mm/dd.
    Does anybody know how i can prevent this from happening?

    Thanks in advance

  2. #2
    Join Date
    Feb 2004
    In MS-SQL a datetime field is typically displayed as 'yyyy/mm..'. Internally it is stored as an 8-byte value counting from 1973. If you'd like to change the way the datetime is shown, I'd suggest to use 'convert'.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts