If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > Sorting question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-15-03, 12:46
bishop bishop is offline
Registered User
 
Join Date: May 2003
Posts: 1
Sorting question

I have a table that sorts in chronolgical order by the description below:

backup.Source = "SELECT * FROM backup ORDER BY start_date ASC"

this works fine but I want to sort it the other way. Right now it sorts from a-z but how would I have it sort from z-a?

Any help is greatly appreciated.


-Bishop-
Reply With Quote
  #2 (permalink)  
Old 05-15-03, 13:09
alligatorsql.com alligatorsql.com is offline
Registered User
 
Join Date: Jul 2001
Location: Germany
Posts: 189
use DESC

Hello,

instead of ASC use DESC (for descending) ...

Hope that helps ?

Manfred Peter
(Alligator Company GmbH)
http://www.alligatorsql.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On