Duplicate of What's the BEST way to remove the time portion of a datetime value (SQL Server)?
I have a column that tracks when things are created using a datetime, but I'd like to generate a report that groups them by day, so I need a way of nulling out the time component of a datetime column.
How do I do this?