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
This works for me:
SELECT distinct(CONVERT(varchar(10), {your date column}, 111)) FROM {your table name}