I am using the following select query with a date range:I am getting a result but the year is getting ignored. i am looking for data with 2011 year and if any records are found between the date range with previous years also are shown.i got 2 records both records are from 2010:Is ther any other better way to use teh date range:SELECT DISTINCT A.ProgNO, A.ProjNO, A.ContractNO, A.RMID, A.SequenceNO, A.RMTitle, A.EnglishText as LogType, A.Deleted FROM TAB_ccsNetRM AS A JOIN TAB_ccsNetUserAccess AS B ON (A.ProgID = B.ProgID AND A.ProjID = B.ProjID AND A.ContractID = B.ContractID) Where CONVERT(varchar(10), A.DocumentDate, 101) between '01/11/2011' and '01/22/2011' AND A.Deleted = 0
Thank you very much for the helpful info.