I\'m using SQL Server 2012 and I would like to know if I write the sentence:
SELECT MyDateTimeColumn FROM MyTable WHERE CAST(MyDateTimeColumn AS DATE) = \'
In SQL 2008+, CAST(foo AS date) is sargable, along with a few other manipulations. Look at the execution plans in the sqlfiddle.
CAST(foo AS date)
SQL Fiddle Demo