Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ORDER BY CASE
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
01436398
Message ID:
01436412
Views:
34
>>Works in 2008 too, but as Naomi, I'm not sure what you mean?
>>You just tell us that this is possible?
>
>Hi Boris,
>
>I forgot what technique would we use to dynamically control the sort order (DESC or ASC) ?


:-)
NO WAY!
ASC or DESC must be AFTER the CASE and it couldn't be used in CASE.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform