need SQL help Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: need SQL help

  1. #1
    Join Date
    Mar 2001


    If i have a month column in "MM/YY" fromat, how do I order it by date order (month) desc, instead of alphabetic order?

    [Edited by linh1417 on 03-27-2001 at 05:40 PM]

  2. #2
    Join Date
    Oct 2000
    You could order by

    to_date(CHARACTER_FIELD, 'DD-YY')

    This converts the character field to the first day of that month.

Posting Permissions

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

Click Here to Expand Forum to Full Width