henrik staun poulsen (4/28/2009)
Is SQL Server able to use indexes when using DateDiff(Day, D1, D2) = 0 ?Best regards
Henrik Staun Poulsen
FTFY 🙂
The answer is yes.
But only if:
Otherwise, no 😉
Cheers,
Paul
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi