Is it possible to sort fields left to right in sql server? for example
---- DO MO BC NI SC
Total 22 44 53 57 24
Prod A 0 24 0 24 0
Prod B 0 0 0 20 7
Prod C 0 20 0 13 13
Would become:
---- NI BC MO SC DO
Total 57 53 44 24 22
Prod A 24 24 0 0 0
Prod B 20 7 0 0 0
Prod C 20 13 13 0 0
this would ignore the column names which I can update after.
Thanks