Stacking of 'when' statements in 'Order By', 'Group By' statements
The 2..99 'WHEN's should lineup
<code>
.....ORDER BY
..........CASE WHEN intSortField = 0 THEN ContractDashZone
....................WHEN intSortField = 1 THEN ContractNameAndContractCode
END;
</code>
3
votes
Markm
shared this idea
-
LSTemp commented
http://www.devart.com/ru/forums/viewtopic.php?t=13080
russiancode formating is must be more customisable -it fact.
+1
PS
but no vote at THIS time. mb later