I am wondering if there is a good-performing query to select distinct dates (ignoring times) from a table with a datetime field in SQL Server.
My problem isn\'t getting
The simplest way is to add a computed column for just the date portion, and select on that. You could do this in a view if you don't want to change the table.