8
Shouts

Top 10 Questions on Datetime asked in Forums

published 952 days, 5 hours, 28 minutes ago posted by dharadhara 952 days, 17 hours, 41 minutes ago
Wednesday, October 13, 2010 6:32:01 PM GMT Wednesday, October 13, 2010 6:19:01 AM GMT

There are innumerable numbers of questions asked in different forums about datetime concepts. I found so many replies using the functions such as Cast, Convert, Month () and Year () in where clause. There is a disadvantage with these functions. If the datetime column has index, these functions will not utilize the indexes properly, which often results in index scans.

category: Data | clicked: 2 | | source: beyondrelational.com | show counter code
tags: SQL Server, DateTime, TSQL