Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
deepaish
Starting Member
4 Posts |
Posted - 2007-10-23 : 02:06:31
|
Can anyone help on thisA table is having a list of categories and id, the sorted on the categories , but there is record of Others that is to displayed at the end of Query. |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-10-23 : 02:09:01
|
ORDER BY CASE WHEN Category = 'Others' THEN 1 ELSE 0 END, Category E 12°55'05.25"N 56°04'39.16" |
 |
|
deepaish
Starting Member
4 Posts |
Posted - 2007-10-24 : 09:47:21
|
Thanks Peso for solving the query |
 |
|
|
|
|