If you only have 4 groupings then the case statement is the best solution
IMHO.  It will let you create the sequence column dynamically.

Justin

> -----Original Message-----
> From: Paul Ihrig [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 29, 2002 8:40 AM
> To: CF-Talk
> Subject: RE: ORDER BY question
> 
> Man!
> you guys went way over my head hear!
> : ]
> 
> for this purpose
> since there are only 4 separate groupings
> i may just do 4 separate queries.
> 
> not sure.
> 
> thought i could do it like
> Order By tblJobTitle.TitleID=25, tblJobTitle.TitleID=26,
> tblJobTitle.TitleID=28, tblJobTitle.TitleID=4;
> 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to