SyntaxFix
Write A Post
Hire A Developer
Questions
GROUP BY DATEADD(day, DATEDIFF(day, 0, MyDateTimeColumn), 0)
Or in SQL Server 2008 onwards you could simply cast to Date as @Oded suggested:
Date
GROUP BY CAST(orderDate AS DATE)