Which method provides the best performance when removing the time portion from a datetime field in SQL Server?
a) select DATEADD(dd, DATEDIFF(dd, 0, getdate(
In SQL Server 2008, you can use:
CONVERT(DATE, getdate(), 101)