From: Jim in Arizona on
"Plamen Ratchev" <Plamen(a)SQLStudio.com> wrote in message
news:84888042-E96A-4F84-AA4D-62240AB49ED8(a)microsoft.com...
> Add WITH ROLLUP after the GROUP BY clause and it will add the summary row.
> In the SELECT list you can use the GROUPING function to check if the row
> has been added by ROLLUP and replace NULL with 'Total' or something else.
>
> HTH,
>
> Plamen Ratchev
> http://www.SQLStudio.com

Cool!!
Thanks again Plamen!