Results 1 to 2 of 2

Thread: date format

  1. #1
    Join Date
    Jan 2004

    Unanswered: date format

    I know this is an easy question but I am trying to get a date in the format dd/mm/yyyy. In oracle it would be tochar('12/31/2001','dd/mm/yyyy) what is it in sql server?

  2. #2
    Join Date
    Jul 2003
    San Antonio, TX
    convert(char(10), '12/31/2001', 101)
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

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