Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2003
    Location
    Memphis
    Posts
    62

    Unanswered: DTS Date Problem

    I have a DTS package that imports from a text file into SQL 2k SP3. I am trying to insert a field (along with the imported fields) during the DTS execution that will be the current date. Does anyone know of a way to do this? I really didn't think I should have to schedule a seperate job to UPDATE each record with the current date...

    Make sense?

  2. #2
    Join Date
    Sep 2003
    Location
    Dallas, Texas
    Posts
    311

    Re: DTS Date Problem

    Make a datetime column in the imported table default to getdate().

  3. #3
    Join Date
    Sep 2003
    Location
    Memphis
    Posts
    62

    Re: DTS Date Problem

    Originally posted by joejcheng
    Make a datetime column in the imported table default to getdate().
    hehe, thanks. That's what I was trying to do, but for some stupid reason I wasn't putting the () on the end of getdate.


    Thanks

Posting Permissions

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