Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    51

    Unanswered: Display records in desc order by default

    I have a table with yr, month & charges field. Whenever i view records from this table, i should view it in desc order of the year. How to do this.
    sampath gowri

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool

    Use order by:
    Code:
    SELECT * FROM MyTab1
     ORDER BY YYYY||MM DESC
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

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