I feel rather lame for asking a question that would seem to have an easy answer, but I have'nt been able to locate any information on how to implement a SQL statement that retrieves records based upon the year of a field date.
Here is the T-SQL that I want to implement:
select distinct year(EffectiveDate) from tblRateIndices
where year(EffectiveDate) = 2005
Any suggestions, samples, etc.
Thanks.