10
Shouts

Why we should not use cast, convert and Year() function on datetime column in where clause?

published 1013 days, 6 hours, 42 minutes ago posted by dharadhara 1016 days, 15 hours, 9 minutes ago
Saturday, September 11, 2010 5:30:17 PM GMT Wednesday, September 08, 2010 9:03:15 AM GMT

This post is inspired by a discussion at MSDN forums, which is about the Performance effect of Cast,Convert and Year() functions on Datetime columns in where clause.

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