Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Order by 2

Status
Not open for further replies.

snowboardr

Programmer
Feb 22, 2002
1,401
PH
I have a colum that has three possible numbers

0
1
2

How would I order these records with
1 being first
2 being the second
0 being the last

Thanks for your input

Jason

www.sitesd.com
ASP WEB DEVELOPMENT
 
I don't think that can be done...I mean, that is not much of an order. Order implies a patern. ORDER BY can be either ascending or descending, but this...
 
Well done swampBoogie... thanks!

jason

www.sitesd.com
ASP WEB DEVELOPMENT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top