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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-12-04 : 08:13:32
|
| J writes "How do I encapsulate the DESC/ASC within a CASE for dynamic ORDER BY clauses without having to implement dual CASE structures where one evaluates to NULL ASC and the second to myField DESC?" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2006-12-04 : 08:14:14
|
| You can't. Dual case structures are the only way if you need to have dynamic order by. |
 |
|
|
|
|
|