davidhyder - Monday, September 18, 2017 4:24 PM
Just keep in mind that you won't be able to have this report span years that way. Only a combination of month and year can do that.
For example:GROUP BY CONVERT(char(4), YEAR(CONVERT(date, a.appt_date))) + '_' + DATENAME(MONTH(CONVERT(date, a.appt_date))), l.location_name
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)