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.
|
8
Shouts |
|
|||
No comments yet, be the first one to post comment.