Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Location
    DC
    Posts
    123

    Unanswered: Changing Formats

    Hey guys,
    I have a file that has date formatted like so: 2006-11-16 20:12:00
    I would like the dateformat to be like mm/dd/yyy hh:mm

    The file is being pulled into a varchar field..... as 2006-11-16 20:12:00
    when I do a conversion i can only get it to mon 11,2006


    any suggestions

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Stop loading it into a varchar field. Load it into a datetime column so you can display it however you want.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

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