SQL Server GROUP BY datetime ignore hour minute and a select with a date and sum value - Stack Overf
I have a table with two fields - datetime and int. I want to do a group by on the datetime only on the date ignoring the hour and minute. ... This will only work in SQL Server 2008+ (when the Date datatype was introduced). If you're in 2005 or earlier, ch...