Viewing post 1 (of 1 total)
One option might be to utilise WITH CUBE or WITH ROLLUP and the Grouping() function
Per BOL;
Grouping is an aggregate function that causes an additional column to be output with a value...
September 19, 2006 at 11:04 am
#661311