SyntaxFix
Write A Post
Hire A Developer
Questions
In pre Sql 2008 By taking out the date part:
GROUP BY CONVERT(CHAR(8),DateTimeColumn,10)